1 | {
|
2 | "env": {
|
3 | "browser": true,
|
4 | "commonjs": true,
|
5 | "es6": true,
|
6 | "mocha": true,
|
7 | "node": false
|
8 | },
|
9 | "parser": "babel-eslint",
|
10 | "parserOptions": {
|
11 | "ecmaFeatures": {
|
12 | "jsx": true
|
13 | },
|
14 | "sourceType": "module"
|
15 | },
|
16 | "plugins": [
|
17 | "react"
|
18 | ],
|
19 | "rules": {
|
20 | "no-const-assign": "warn",
|
21 | "no-this-before-super": "warn",
|
22 | "no-undef": "warn",
|
23 | "no-unreachable": "warn",
|
24 | "no-unused-vars": "warn",
|
25 | "constructor-super": "warn",
|
26 | "valid-typeof": "warn",
|
27 | "react/prop-types": [0],
|
28 | "no-// debugger":[0],
|
29 | "no-console":0,
|
30 | "react/display-name": 0
|
31 | },
|
32 | "extends": ["eslint:recommended", "plugin:react/recommended"]
|
33 | } |
\ | No newline at end of file |