ESLint shareable config for XO with 2-space indent
This is for advanced users. You probably want to use XO directly.
Use the XO issue tracker instead of this one.
npm install --save-dev eslint-config-xo-spaceAdd some ESLint config to your package.json:
{
"name": "my-awesome-project",
"eslintConfig": {
"extends": "xo-space"
}
}Or to .eslintrc:
{
"extends": "xo-space"
}This package also exposes xo-space/browser if you're in the browser:
{
"extends": "xo-space/browser"
}- eslint-config-xo - ESLint shareable config for XO
- eslint-config-xo-react - ESLint shareable config for React to be used with the above