1.2.1 • Published 9 years ago
eslint-config-kapgel v1.2.1
eslint-config-kapgel
This package is based on Airbnb config and provides kapgel's .eslintrc as an extensible shared config.
Usage
eslint-config-kapgel/legacy
Lints ES5 and below. Only requires eslint.
npm install --save-dev eslint-config-kapgel eslint- add
"extends": "kapgel/legacy"to your .eslintrc
- We will add ES6 support later
Improving this config
Consider adding test cases if you're making complicated rules changes, like anything involving regexes. Perhaps in a distant future, we could use literate programming to structure our README as test cases for our .eslintrc?
You can run tests with npm test. WIP
You can make sure this module lints with itself using npm run lint. WIP