MyCrypto/.eslintrc.json

43 lines
975 B
JSON
Raw Normal View History

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,
"no-unused-vars": 0,
"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-08-15 09:29:40 +00:00
"no-unused-vars": [1, { "argsIgnorePattern": "^_" }],
"no-restricted-globals": ["error", "event"]
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,
"Generator": false,
"$Keys": false,
"SyntheticMouseEvent": false
2017-04-12 04:59:11 +00:00
}
}