eslint-config-xo-multi-spaces
v1.0.0
Published
ESLint shareable config for XO with 2-space indent, key spacing and multi spaces
Downloads
4
Maintainers
Readme
eslint-config-xo-multi-space
ESLint shareable config for XO with 2-space indent, key spacing and multi spaces.
This is for advanced users. You probably want to use XO directly.
Install
$ npm install --save-dev eslint-config-xo-multi-spaces
Usage
Add some ESLint config to your package.json
:
{
"name": "my-awesome-project",
"eslintConfig": {
"extends": "xo-multi-spaces"
}
}
Or to .eslintrc
:
{
"extends": "xo-multi-spaces"
}
This package also exposes xo-multi-spaces/esnext
if you want ES2015 support and rules:
{
"extends": "xo-multi-spaces/esnext"
}
And xo-multi-spaces/browser
if you're in the browser:
{
"extends": "xo-multi-spaces/browser"
}
License
MIT © Fredrik Forsmo