woocommerce/plugins/woocommerce-admin/.eslintrc

32 lines
706 B
Plaintext
Raw Normal View History

2018-04-17 21:38:56 +00:00
{
"root": true,
"parser": "babel-eslint",
"extends": [
"wpcalypso/react",
"plugin:jsx-a11y/recommended"
],
"plugins": [
"jsx-a11y"
2018-04-17 21:38:56 +00:00
],
"env": {
"browser": true,
"mocha": true,
"node": true
},
"globals": {
"jQuery": true,
"wp": true,
"wpApiSettings": true
2018-04-17 21:38:56 +00:00
},
"rules": {
"camelcase": 0,
"max-len": [ 2, { "code": 140 } ],
"no-console": 1,
"react/no-danger": 0,
"react/react-in-jsx-scope": 0,
"wpcalypso/import-no-redux-combine-reducers": 0,
"wpcalypso/jsx-classname-namespace": 0,
"wpcalypso/redux-no-bound-selectors": 1
2018-04-17 21:38:56 +00:00
}
}