mirror of
https://github.com/reduxjs/redux-devtools.git
synced 2024-11-26 03:23:55 +03:00
89880265a6
* Move from zalmoxisus/remotedev-inspector-monitor fork * Fix linting * Add credits * Upgrade to react 16 Moved from zalmoxisus/remotedev-inspector-monitor/pull/5 * Upgrade dependences * Add demo for ES6 map From alexkuz/redux-devtools-inspector/commit/9dfaaabcfba7913fd15ee6ee43627e0c eb1d5c7b
58 lines
1.5 KiB
Plaintext
58 lines
1.5 KiB
Plaintext
{
|
|
"parser": "babel-eslint",
|
|
"rules": {
|
|
"no-undef": ["error"],
|
|
"no-trailing-spaces": ["warn"],
|
|
"space-before-blocks": ["warn", "always"],
|
|
"no-unused-expressions": ["off"],
|
|
"no-underscore-dangle": ["off"],
|
|
"quote-props": ["warn", "as-needed"],
|
|
"no-multi-spaces": ["off"],
|
|
"no-unused-vars": ["warn"],
|
|
"no-loop-func": ["off"],
|
|
"key-spacing": ["off"],
|
|
"max-len": ["warn", 100],
|
|
"strict": ["off"],
|
|
"eol-last": ["warn"],
|
|
"no-console": ["warn"],
|
|
"indent": ["warn", 2],
|
|
"quotes": ["warn", "single", "avoid-escape"],
|
|
"curly": ["off"],
|
|
"jsx-quotes": ["warn", "prefer-single"],
|
|
|
|
"react/jsx-boolean-value": "warn",
|
|
"react/jsx-no-undef": "error",
|
|
"react/jsx-uses-react": "warn",
|
|
"react/jsx-uses-vars": "warn",
|
|
"react/no-did-mount-set-state": "warn",
|
|
"react/no-did-update-set-state": "warn",
|
|
"react/no-multi-comp": "off",
|
|
"react/no-unknown-property": "error",
|
|
"react/react-in-jsx-scope": "error",
|
|
"react/self-closing-comp": "warn",
|
|
"react/jsx-wrap-multilines": "warn",
|
|
|
|
"generator-star-spacing": "off",
|
|
"new-cap": "off",
|
|
"object-curly-spacing": "off",
|
|
"object-shorthand": "off",
|
|
|
|
"babel/generator-star-spacing": "warn",
|
|
"babel/new-cap": "warn",
|
|
"babel/object-curly-spacing": ["warn", "always"],
|
|
"babel/object-shorthand": "warn"
|
|
},
|
|
"plugins": [
|
|
"react",
|
|
"babel"
|
|
],
|
|
"settings": {
|
|
"ecmascript": 6,
|
|
"jsx": true
|
|
},
|
|
"env": {
|
|
"browser": true,
|
|
"node": true
|
|
}
|
|
}
|