2018-08-26 11:30:20 +03:00
|
|
|
{
|
|
|
|
"extends": [
|
|
|
|
"adidas-env/browser",
|
|
|
|
"adidas-env/module",
|
|
|
|
"adidas-es6",
|
|
|
|
"adidas-babel",
|
|
|
|
"adidas-react"
|
|
|
|
],
|
|
|
|
"plugins": ["jest"],
|
|
|
|
"env": {
|
|
|
|
"jest/globals": true
|
|
|
|
},
|
|
|
|
"globals": {
|
|
|
|
"process": true,
|
|
|
|
"setImmediate": true
|
|
|
|
},
|
|
|
|
"settings": {
|
|
|
|
"react": {
|
|
|
|
"version": "16.3"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"rules": {
|
|
|
|
"comma-dangle": ["error", "always-multiline"],
|
|
|
|
"no-invalid-this": "off",
|
2018-08-26 20:30:56 +03:00
|
|
|
"no-console": "warn",
|
2018-08-26 11:30:20 +03:00
|
|
|
"template-curly-spacing": ["error", "never"],
|
|
|
|
"no-warning-comments": "off",
|
|
|
|
"no-undefined": "off",
|
|
|
|
"indent": ["error", 2, {
|
|
|
|
"SwitchCase": 1
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"react/jsx-curly-spacing": ["error", "never"],
|
|
|
|
"react/jsx-indent-props": ["error", 2],
|
|
|
|
"react/jsx-first-prop-new-line": ["error", "multiline-multiprop"],
|
|
|
|
"react/jsx-closing-bracket-location": ["error", "tag-aligned"],
|
|
|
|
"react/no-array-index-key": "off",
|
2018-08-31 19:00:33 +03:00
|
|
|
"react/no-did-update-set-state": "off",
|
|
|
|
"react/display-name": "off"
|
2018-08-26 11:30:20 +03:00
|
|
|
}
|
|
|
|
}
|