eslint-config-zillow
This package provides Zillow's .eslintrc as an extensible shared config.
Usage
To install with all necessary peerDependencies
, use install-peerdeps:
npx install-peerdeps --dev eslint-config-zillow
All exported configs should be added to your ESlint configuration file extends
.
For example, in a JSON .eslintrc
:
{
"extends": "zillow"
}
"extends": "zillow"
Lint all the things, including ECMAScript 6+ and React.
If you don't need React, use eslint-config-zillow-base.
Related
Development
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 (from the repo root) with npm test
.
You can make sure this module lints with itself using npm run lint
(from the repo root).