-
-
Couldn't load subscription status.
- Fork 72
chore: update lint staged #53
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
chore: update lint staged #53
Conversation
| "build:server": "cp -r src/lambda/ dist/server", | ||
| "postbuild:server": "mkdir -p dist/server/server && mv dist/client/index.html dist/server/server/", | ||
| "lint": "eslint 'src/**/*.js' --quiet --fix", | ||
| "lint": "eslint . --quiet --fix", |
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.
eslint can only parse .js(x)/.ts(x)-files, right? 🤔
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.
yes
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.
So we shouldn't run eslint on all files (.) then, right? 🤔
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 there are only js files. The default extension for eslint is JavaScript file
|
Looking good! Let me know when it's ready to get merged? |
I think that we're ready |
I added to lint-staged all scripts that I think we need.