UNPKG

633 BJavaScriptView Raw
1const rules = require('./rules');
2
3module.export = {
4 'root': true,
5
6 'env': {
7 'browser': true,
8 'node': true,
9 'commonjs': true,
10 'es6': true,
11 'jest': true,
12 'amd': false,
13 'mocha': false,
14 'jasmine': false
15 },
16
17 // dependencies: eslint-plugin-react eslint-plugin-import eslint-plugin-jsx-a11y
18 'plugins': [
19 'react',
20 'import',
21 'jsx-a11y'
22 ],
23
24 'parser': 'babel-eslint',
25
26 'parserOptions': {
27 'ecmaVersion': 8,
28 'sourceType': 'module',
29 'ecmaFeatures': {
30 'jsx': true,
31 'impliedStrict': true,
32 'experimentalObjectRestSpread': true
33 }
34 },
35
36 'rules': rules
37};