ESLint shareable config for XO with 2-space indent
npm install eslint-config-xo-space> 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.
``sh`
npm install --save-dev eslint-config-xo-space
In your eslint.config.js:
`js
import eslintConfigXoSpace from 'eslint-config-xo-space';
export default [
...eslintConfigXoSpace(),
];
`
If you're in the browser:
`js
import eslintConfigXoSpace from 'eslint-config-xo-space';
export default [
...eslintConfigXoSpace({browser: true}),
];
``
- eslint-config-xo - ESLint shareable config for XO
- eslint-config-xo-react - ESLint shareable config for React to be used with the above