2017-04-12 04:59:11 +00:00
|
|
|
{
|
|
|
|
"extends": ["eslint:recommended", "plugin:react/recommended"],
|
|
|
|
"parser": "babel-eslint",
|
2017-06-29 23:03:11 +00:00
|
|
|
"plugins": ["react"],
|
2017-04-12 04:59:11 +00:00
|
|
|
"parserOptions": {
|
|
|
|
"ecmaFeatures": {
|
|
|
|
"jsx": true,
|
|
|
|
"modules": true
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"env": {
|
|
|
|
"browser": true,
|
|
|
|
"amd": true,
|
|
|
|
"es6": true,
|
|
|
|
"node": true,
|
|
|
|
"jest": true
|
|
|
|
},
|
|
|
|
"rules": {
|
|
|
|
"comma-dangle": 1,
|
2017-06-29 23:03:11 +00:00
|
|
|
"quotes": [1, "single"],
|
2017-04-12 04:59:11 +00:00
|
|
|
"no-undef": 1,
|
|
|
|
"global-strict": 0,
|
|
|
|
"no-extra-semi": 1,
|
|
|
|
"no-underscore-dangle": 0,
|
|
|
|
"no-console": 0,
|
2017-07-06 00:18:25 +00:00
|
|
|
"no-unused-vars": 0,
|
2017-07-09 03:51:14 +00:00
|
|
|
"no-constant-condition": 0,
|
2017-04-12 04:59:11 +00:00
|
|
|
"no-trailing-spaces": [1, { "skipBlankLines": true }],
|
|
|
|
"no-unreachable": 1,
|
|
|
|
"no-alert": 0,
|
|
|
|
"react/jsx-uses-react": 1
|
2017-06-26 22:27:55 +00:00
|
|
|
},
|
|
|
|
"globals": {
|
2017-06-29 23:03:11 +00:00
|
|
|
"SyntheticInputEvent": false,
|
2017-07-03 23:59:27 +00:00
|
|
|
"SyntheticKeyboardEvent": false,
|
2017-07-13 21:02:39 +00:00
|
|
|
"Generator": false,
|
|
|
|
"$Keys": false,
|
|
|
|
"SyntheticMouseEvent": false
|
2017-04-12 04:59:11 +00:00
|
|
|
}
|
|
|
|
}
|