Skip to content
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

Merged
merged 7 commits into from
May 29, 2020

Conversation

marcosvega91
Copy link
Member

I added to lint-staged all scripts that I think we need.

@@ -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",
Copy link
Member

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? 🤔

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

yes

Copy link
Member

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? 🤔

Copy link
Member Author

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

@smeijer
Copy link
Member

smeijer commented May 29, 2020

Looking good! Let me know when it's ready to get merged?

@marcosvega91
Copy link
Member Author

Looking good! Let me know when it's ready to get merged?

I think that we're ready

@smeijer smeijer merged commit 06ba92a into testing-library:master May 29, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants