eslint-config-ezhome
v1.0.0-rc.1
Published
Ezhome's ESLint config
Downloads
174
Maintainers
Readme
eslint-config-ezhome
This package provides Ezhome's .eslintrc
as an extensible shared config.
Requirements
As of 1.0.0
release eslint-config-ezhome
requires,
Usage
Install
eslint-config-ezhome
and some other ESLint dev dependencies as,npm install --save-dev eslint-config-ezhome
Add next snippet,
"eslintConfig": { "extends": "ezhome" }
to your
package.json
Note on preferred ESLint versions
As of 1.0.0
release, eslint-config-ezhome
installs:
as its requirements. You still able to install other versions of ESLint packages, but we recommend use versions listed above.
Other Configs
ezhome/base
Use ezhome/base
config in case your project still heavilly uses ES5 features.
In other words, if your project still uses var
statement you need to use this
config.
ezhome/alternate
Alternate config which provides comma-dangling and uses 2 spaces for indent in JS and JSX code. Good config for new projects.