0.28.0 • Published 11 months ago
eslint-config-xo-react v0.28.0
eslint-config-xo-react
ESLint shareable config for React to be used with eslint-config-xo
Install
npm install --save-dev eslint-config-xo eslint-config-xo-reactUsage
Add some ESLint config to your eslint.config.js:
import xo from 'eslint-config-xo';
import xoReact from 'eslint-config-xo-react';
export default [
...xo,
...xoReact
];Use the space sub-config if you want 2 space indentation instead of tabs:
import xoSpace from 'eslint-config-xo/space';
import xoReactSpace from 'eslint-config-xo-react/space';
export default [
...xoSpace,
...xoReactSpace
];Related
- eslint-config-xo - ESLint shareable config for XO
- XO
0.28.0
11 months ago
0.27.0
4 years ago
0.26.0
4 years ago
0.25.0
5 years ago
0.24.0
5 years ago
0.23.0
6 years ago
0.21.0
6 years ago
0.22.0
6 years ago
0.20.0
6 years ago
0.19.0
7 years ago
0.18.0
7 years ago
0.17.0
7 years ago
0.16.0
8 years ago
0.15.0
8 years ago
0.14.0
8 years ago
0.13.0
8 years ago
0.12.0
9 years ago
0.11.1
9 years ago
0.11.0
9 years ago
0.10.0
9 years ago
0.9.0
9 years ago
0.8.0
10 years ago
0.7.0
10 years ago
0.6.0
10 years ago
0.5.0
10 years ago
0.4.0
10 years ago
0.3.0
10 years ago
0.2.0
10 years ago
0.1.0
10 years ago