1
0
mirror of https://github.com/ascribe/onion.git synced 2024-12-22 09:23:13 +01:00
onion/.eslintrc

61 lines
1.7 KiB
Plaintext
Raw Normal View History

2015-06-05 09:17:41 +02:00
{
"parser": "babel-eslint",
"env": {
"browser": true,
"es6": true
},
"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],
"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,
"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,
"react/no-did-mount-set-state": 1,
"react/no-did-update-set-state": 1,
"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
},
"globals": {
"Intercom": true,
2015-07-17 15:41:09 +02:00
"fetch": true,
"require": true,
"File": true
2015-07-17 15:41:09 +02:00
},
2015-06-05 09:17:41 +02:00
"plugins": [
"react"
],
"ecmaFeatures": {
"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
}
}