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
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
The config includes rules for React as well, that can be extended directly from
with-xo/rules/react
.
Licence
Licenced under the MIT licence.