eslint-config-hardesty
v7.2.5
Published
Zach Hardesty's ESLint config, forked from Airbnb. To use, extend `hardesty` and optionally `hardesty/typescript`
Downloads
457
Maintainers
Readme
eslint-config-hardesty
This package provides Zach Hardesty's .eslintrc
as an extensible shared config.
Usage
Our default export contains all of our ESLint rules, including ECMAScript 6+ and React, but excludes TypeScript. In the future, React may be split into a separate config in this repo.
- Ensure your project has
eslint
installed:npm install eslint --save-dev
. Not all versions are compatible with this config. - Add
"extends": ["hardesty"]
to your .eslintrc or seteslintConfig: { "extends": ["hardesty"] },
in yourpackage.json
.- If you're using TypeScript, additionally add
"hardesty/typescript"
as a new item in the "extends" array after"hardesty"
. - If your project is a Node project, additionally add
"hardesty/node"
as a new item in the "extends" array after"hardesty"
.
- If you're using TypeScript, additionally add