eslint-config-with-xo
v1.2.1
Published
XO's ESLint config
Downloads
1
Maintainers
Readme
XO's ESLint config
ESLint config. with use at XO, following our JavaScript guidelines.
Installation
$ npm i eslint-config-with-xo
Usage
Currently we expose 2 version of config, one for Node.js and one for browsers.
Put the following lines into your .eslintrc
for Node.js
{
"extends": "with-xo"
}
N.B.: currently, we do not support ECMAScript 6 modules in default config,
use with-xo/browser
instead or extend the corresponding rules directly from
with-xo/rules/import
If you're in a browser, use config below
{
"extends": "with-xo/browser"
}
The config includes rules for React as well, that can be extended directly from
with-xo/rules/react
.
Licence
Licenced under the MIT licence.