mirror of
https://github.com/ascribe/onion.git
synced 2024-12-22 09:23:13 +01:00
62 lines
1.7 KiB
Plaintext
62 lines
1.7 KiB
Plaintext
{
|
|
"parser": "babel-eslint",
|
|
"env": {
|
|
"browser": true,
|
|
"es6": true,
|
|
},
|
|
"rules": {
|
|
"new-cap": [2, {newIsCap: true, capIsNew: false}],
|
|
"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,
|
|
"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,
|
|
"react/jsx-uses-react": 1,
|
|
"react/jsx-uses-vars": 1,
|
|
"react/no-did-mount-set-state": [1, "allow-in-func"],
|
|
"react/no-did-update-set-state": 1,
|
|
"react/no-multi-comp": 0,
|
|
"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,
|
|
"fetch": true,
|
|
"require": true,
|
|
"File": true
|
|
},
|
|
"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
|
|
}
|
|
}
|