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-spaceIn your eslint.config.js:
import eslintConfigXoSpace from 'eslint-config-xo-space';
export default [
...eslintConfigXoSpace(),
];If you're in the browser:
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