eslint-config-cheersjosh
v1.4.0
Published
An ESLint configuration.
Downloads
4
Readme
eslint-config-cheersjosh
This is a complete ESLint Shareable Config for your Javascript project. All rules have been included from ESLint. Suitable values have been applied, which were based on configurations from Airbnb and Standard. The configuration is used for every Javascript project I maintain, but please feel free to use it or make adjustments as required. Note: The rules were tested in [email protected].
- Install ESLint and the Babel Parser:
$ npm install --save-dev eslint babel-eslint
- Install the configuration:
$ npm install --save-dev eslint-config-cheersjosh
Usage
To make use of the shareable configuration, you must use the extend
feature of your ESLint configuration. Use the module name instead of the filepath:
{
"extends": "cheersjosh"
}
Rules Included
- Possible Errors
- Best Practices
- Strict Mode
- Variables
- Node.js and CommonJS
- Stylistic Issues
- ECMAScript 6
Plugins Included
- React