-
-
Notifications
You must be signed in to change notification settings - Fork 63
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
chore: update lint staged #53
Conversation
@@ -12,12 +12,13 @@ | |||
"postbuild:client": "mkdir -p dist/client/public && cp _redirects dist/client/_redirects && cp public/favicon.ico dist/client/favicon.ico && cp public/android-chrome-512x512.png dist/client/public/icon.png && cp -r .well-known dist/client/.well-known", | |||
"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.