-
Notifications
You must be signed in to change notification settings - Fork 83
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
DX: Check prettier by default linter, fix code by pre-commit hook, fix release files #195
Conversation
@@ -6,7 +6,7 @@ module.exports = { | |||
extends: [ | |||
'eslint:recommended', | |||
'plugin:@typescript-eslint/recommended', | |||
'prettier', | |||
'plugin:prettier/recommended', |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Now, it works like that.
@@ -77,9 +81,10 @@ | |||
"release:ci": "rm -rf dist && npm run build:all && $NPM_TOKEN=%env.NPM_TOKEN% npm publish", | |||
"start": "webpack-dev-server --port 9002", | |||
"lint": "eslint . --ext .ts", | |||
"prettier": "prettier --write .", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
replaced by fix
@@ -0,0 +1 @@ | |||
18 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lint-staged
requirement:
[email protected]: The engine "node" is incompatible with this module. Expected version ">=18.12.0". Got "16.20.2"
Improvements:
dist/REMOVEME.js