-
-
Notifications
You must be signed in to change notification settings - Fork 2.8k
Add eslint-recommended #488
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
Add eslint-recommended #488
Conversation
Not to be a pain, but please use JSON instead of YAML. You could alternately use .js considering you want comments |
I changed it to .js! |
I'm an idiot, should have said - make it You will have to import it in |
Codecov Report
@@ Coverage Diff @@
## master #488 +/- ##
==========================================
- Coverage 95.81% 95.76% -0.06%
==========================================
Files 77 78 +1
Lines 3489 3491 +2
Branches 963 963
==========================================
Hits 3343 3343
- Misses 51 53 +2
Partials 95 95
|
I have changed the file to |
Closes #477.
This PR adds a modifier for Typescript of
eslint-recommended
. It has its separate file, such that it andplugin:@typescript-eslint/recommended
can be used independently. I have included reasoning for the rules in the configuration.The goal of this configuration is to modify the recommended set of
eslint
rules to be usable with Typescript. This means excluding those rules that are already tested by the compiler, and including additional rules for idiomatic code that is always available in Typescript.