UNPKG

1.43 kBPlain TextView Raw
1{
2 "root": true,
3 "parser": "babel-eslint",
4 "extends": "eslint-config-airbnb",
5 "parserOptions": {
6 "ecmaVersion": 6,
7 "ecmaFeatures": {
8 "jsx": true,
9 "experimentalObjectRestSpread": true
10 }
11 },
12 "env": {
13 "browser": true,
14 "mocha": true
15 },
16 "plugins": ["react", "babel"],
17 "rules": {
18 "react/prefer-stateless-function": 0,
19 "no-console": 0,
20 "no-use-before-define": 0,
21 "jsx-a11y/label-has-for": 0,
22 "jsx-a11y/no-static-element-interactions": 0,
23 "jsx-a11y/anchor-has-content": 0,
24 "jsx-a11y/click-events-have-key-events": 0,
25 "jsx-a11y/anchor-is-valid": 0,
26 "react/no-array-index-key": 0,
27 "func-names": 0,
28 "arrow-body-style": 0,
29 "react/sort-comp": 0,
30 "react/prop-types": 0,
31 "react/jsx-first-prop-new-line": 0,
32 "react/jsx-filename-extension": [
33 1,
34 {
35 "extensions": [".js", ".jsx"]
36 }
37 ],
38 "import/extensions": 0,
39 "import/no-unresolved": 0,
40 "import/no-extraneous-dependencies": 0,
41 "prefer-destructuring": 0,
42 "no-param-reassign": 0,
43 "no-return-assign": 0,
44 "max-len": 0,
45 "consistent-return": 0,
46 "no-redeclare": 0,
47 "react/require-extension": 0,
48 "react/no-danger": 0,
49 "comma-dangle": ["error", "always-multiline"],
50 "function-paren-newline": 0,
51 "object-curly-newline": 0,
52 "no-restricted-globals": 0,
53 "global-require": 0,
54 "no-mixed-operators": 0
55 }
56}