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