mirror of
https://github.com/shlinkio/shlink-web-client.git
synced 2024-12-23 01:20:24 +03:00
43 lines
1 KiB
Text
43 lines
1 KiB
Text
{
|
|
"extends": [
|
|
"adidas-env/browser",
|
|
"adidas-env/module",
|
|
"adidas-env/node",
|
|
"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",
|
|
"no-console": "warn",
|
|
"template-curly-spacing": ["error", "never"],
|
|
"no-warning-comments": "off",
|
|
"no-magic-numbers": "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",
|
|
"react/no-did-update-set-state": "off",
|
|
"react/display-name": "off"
|
|
}
|
|
}
|