-
Notifications
You must be signed in to change notification settings - Fork 23
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
Eslint config #6
Conversation
add prettier update .gitignore
# Conflicts: # README.md
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.
The comment was refering to adding .vscode to the gitignore. So it's out of context here.
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.
I won't go through all the individual settings, we just have to start using it in a project, and tweak this config when we get annoyed by some rules, or are missing other rules, and go from there.
It seems we're adding/changing quite a lot of rules. It might be very useful to have an explanation for each rule (in a separate readme) with an explanation of why we have configured it that way. Not everyone might agree with the reasoning, but at least people can understand why. Or counter specific arguments made there that were not previously considered.
Also, it would be good to set guidelines on how to propose/discuss changes. E.g. opening an issue with the subject [add/change/remove] rule-name
, and a template with the current and proposed setting, and the reasoning why.
Co-authored-by: Arjan van Wijk <thanarie@gmail.com>
what about eslint-plugin-jsx-a11y ? |
Typescript from version 3.8 supports |
@ThaNarie |
…o avoid conflicts with changes in other branches
# Conflicts: # README.md
This adds an Eslint Configuration Extension. This configuration has all eslint settings for React, Vue and Muban projects.
When installing this as an NPM library the
.eslintrc.js
can just be: