2015-06-05 09:17:41 +02:00
|
|
|
{
|
|
|
|
"parser": "babel-eslint",
|
|
|
|
"env": {
|
|
|
|
"browser": true,
|
2015-12-17 19:23:56 +01:00
|
|
|
"es6": true,
|
2015-06-05 09:17:41 +02:00
|
|
|
},
|
|
|
|
"rules": {
|
2015-07-24 13:44:28 +02:00
|
|
|
"new-cap": [2, {newIsCap: true, capIsNew: false}],
|
2015-06-05 09:17:41 +02:00
|
|
|
"quotes": [2, "single"],
|
|
|
|
"eol-last": [0],
|
|
|
|
"no-mixed-requires": [0],
|
|
|
|
"no-underscore-dangle": [0],
|
2015-06-05 11:06:36 +02:00
|
|
|
"global-strict": [2, "always"],
|
|
|
|
"no-trailing-spaces": [2, { skipBlankLines: true }],
|
|
|
|
"no-console": 0,
|
|
|
|
"camelcase": [2, {"properties": "never"}],
|
|
|
|
"react/display-name": 0,
|
2015-06-05 09:17:41 +02:00
|
|
|
"react/jsx-boolean-value": 1,
|
|
|
|
"react/jsx-no-undef": 1,
|
|
|
|
"react/jsx-quotes": 1,
|
2015-06-05 11:06:36 +02:00
|
|
|
"react/jsx-sort-prop-types": 0,
|
|
|
|
"react/jsx-sort-props": 0,
|
2015-06-05 09:17:41 +02:00
|
|
|
"react/jsx-uses-react": 1,
|
|
|
|
"react/jsx-uses-vars": 1,
|
2015-10-20 14:16:49 +02:00
|
|
|
"react/no-did-mount-set-state": [1, "allow-in-func"],
|
2015-06-05 09:17:41 +02:00
|
|
|
"react/no-did-update-set-state": 1,
|
2015-06-05 11:06:36 +02:00
|
|
|
"react/no-multi-comp": 0,
|
2015-06-05 09:17:41 +02:00
|
|
|
"react/no-unknown-property": 1,
|
|
|
|
"react/prop-types": 1,
|
|
|
|
"react/react-in-jsx-scope": 1,
|
|
|
|
"react/self-closing-comp": 1,
|
|
|
|
"react/sort-comp": 1,
|
|
|
|
"react/wrap-multilines": 1
|
|
|
|
},
|
2015-07-17 10:30:05 +02:00
|
|
|
"globals": {
|
2015-07-17 15:41:09 +02:00
|
|
|
"fetch": true,
|
2015-07-23 15:38:52 +02:00
|
|
|
"require": true,
|
|
|
|
"File": true
|
2015-07-17 15:41:09 +02:00
|
|
|
},
|
2015-06-05 09:17:41 +02:00
|
|
|
"plugins": [
|
|
|
|
"react"
|
|
|
|
],
|
|
|
|
"ecmaFeatures": {
|
2015-06-05 11:06:36 +02:00
|
|
|
"jsx": 1,
|
|
|
|
"modules": 1,
|
|
|
|
"arrowFunctions",
|
|
|
|
"classes": 1,
|
|
|
|
"blockBindings": 1,
|
|
|
|
"defaultParams": 1,
|
|
|
|
"destructuring": 1,
|
|
|
|
"objectLiteralComputedProperties": 1,
|
|
|
|
"objectLiteralDuplicateProperties": 0,
|
|
|
|
"objectLiteralShorthandMethods": 1,
|
|
|
|
"objectLiteralShorthandProperties": 1,
|
|
|
|
"restParams": 1,
|
|
|
|
"spread": 1,
|
|
|
|
"superInFunctions": 1,
|
|
|
|
"templateStrings": 1
|
2015-06-05 09:17:41 +02:00
|
|
|
}
|
2015-10-20 14:16:49 +02:00
|
|
|
}
|