Skip to content
This repository has been archived by the owner on May 10, 2020. It is now read-only.

DominikSerafin/eslint-starter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

40 Commits
 
 
 
 
 
 
 
 

Repository files navigation

ESLint Starter

ESLint config starter that contains every rule which is disabled on start and commented with description. Create your own config by enabling only the rules you need.

Inspired by the original ESLint Reset gist by cletusw. Unfortunately (at the time of writing this) that gist wasn't updated with all the new, deprecated & removed rules. This repo was created with intent to fix that.

Extractor

I try to update this package when I can. But sometimes it might be a little outdated. In that case you can use special script which I wrote to extract the rules.

  1. Go to https://eslint.org/docs/rules/.
  2. Open DevTools and go to console.
  3. Copy, paste and execute extractor.js script.
  4. You should get rules in the console output. Just copy those to your eslint config. Note that some DevTools might hide full console output. E.g. in Google Chrome DevTools you need to click "Show xxx more" at the end of output.

Contributing

Any contributions are always welcome.

Useful related resources

About

ESLint config starter that contains every rule which is disabled on start and commented with description. Create your own config by enabling only the rules you need.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published