mirror of
https://github.com/reduxjs/redux-devtools.git
synced 2024-12-04 23:43:51 +03:00
b80cc9e5b9
* Merge react-json-tree from alexkuz/react-json-tree * Npm package config * Add credits * Stick `eslint-plugin-react` to `7.4.0` till change deprecated `componentWillReceiveProps`
54 lines
1.1 KiB
Plaintext
54 lines
1.1 KiB
Plaintext
{
|
|
"parser": "babel-eslint",
|
|
"extends": [
|
|
"eslint:recommended",
|
|
"standard",
|
|
"plugin:react/recommended",
|
|
"prettier"
|
|
],
|
|
"env": {
|
|
"browser": true,
|
|
"mocha": true,
|
|
"node": true
|
|
},
|
|
"rules": {
|
|
"no-restricted-syntax": 0,
|
|
"comma-dangle": 0,
|
|
"no-param-reassign": 0,
|
|
"space-infix-ops": 0,
|
|
"react/sort-comp": [
|
|
1, {
|
|
"order": [
|
|
"static-methods",
|
|
"constructor",
|
|
"lifecycle",
|
|
"everything-else",
|
|
"render",
|
|
"/^handle.+$/"
|
|
],
|
|
"groups": {
|
|
"lifecycle": [
|
|
"childContextTypes",
|
|
"getInitialState",
|
|
"state",
|
|
"getChildContext",
|
|
"componentWillMount",
|
|
"componentDidMount",
|
|
"componentWillReceiveProps",
|
|
"shouldComponentUpdate",
|
|
"componentWillUpdate",
|
|
"componentDidUpdate",
|
|
"componentWillUnmount"
|
|
]
|
|
}
|
|
}
|
|
]
|
|
},
|
|
"plugins": [
|
|
"prettier",
|
|
"standard",
|
|
"react",
|
|
"babel"
|
|
]
|
|
}
|