eslint-config-for-js
v1.0.0
Published
Common eslint config for js
Downloads
2
Readme
eslint-config-for-js
eslint-config-for-js is designed for commonjs
and esm
,it contains serveral popular js code styles: airbnb-base,standard,google,it's compatible with prettier.
Installation
$ npx install-peerdeps -D eslint-config-for-js
Usage
To use airbnb-base style, set eslint config:
{
"extends": ["for-js/airbnb"]
}
To use standard style, set eslint config:
{
"extends": ["for-js/standard"]
}
To use google style, set eslint config:
{
"extends": ["for-js/google"]
}