-
Notifications
You must be signed in to change notification settings - Fork 0
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
build: eslint configuration #56
base: main
Are you sure you want to change the base?
Conversation
matijs
commented
Oct 17, 2024
- Add eslint-plugin-react and eslint-plugin-jsx-a11y and use the recommended and jsx-runtime configurations and strict configuration on .tsx files only
- Add @eslint/json and use the recommended configuration on .json files, treat tsconfig files as jsonc
- Add eslint-plugin-perfectionist and autofix issues
- Add eslint-plugin-react and eslint-plugin-jsx-a11y and use the recommended and jsx-runtime configurations and strict configuration on .tsx files only - Add @eslint/json and use the recommended configuration on .json files, treat tsconfig files as jsonc
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
e6d7a07
to
8247231
Compare
@@ -2,8 +2,6 @@ | |||
* @type {import('prettier').Config} | |||
*/ | |||
export default { | |||
printWidth: 120, | |||
singleQuote: true, | |||
overrides: [ |
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.
Zelfde hier, sorted is wat voor te zeggen, er is ook wat voor te zeggen om overrides pas na de normale settings te melden.
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.
hoeft niet van mij, dan is het hek van de dam :P
8247231
to
1b9222d
Compare
1b9222d
to
1b6770f
Compare
Use the recommended-natural configuration and autofix issues Make sure eslint is also run with the `--fix` option by lint-staged
1b6770f
to
660a503
Compare
@@ -2,8 +2,6 @@ | |||
* @type {import('prettier').Config} | |||
*/ | |||
export default { | |||
printWidth: 120, | |||
singleQuote: true, | |||
overrides: [ |
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.
hoeft niet van mij, dan is het hek van de dam :P
@@ -1 +1 @@ | |||
pnpm exec lint-staged | |||
lint-staged |
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.
waarom deze change?