ant-design/.eslintrc.json

40 lines
792 B
JSON
Raw Normal View History

2015-06-10 17:59:32 +08:00
{
2015-09-01 16:18:46 +08:00
"extends": ["eslint-config-airbnb"],
2015-06-19 15:35:39 +08:00
"env": {
"browser": true,
2015-11-04 17:15:33 +08:00
"node": true,
"mocha": true,
2015-11-20 14:15:33 +08:00
"jest": true,
"es6": true
2015-06-19 15:35:39 +08:00
},
2016-02-22 10:04:54 +08:00
"parserOptions": {
"ecmaVersion": 6,
"ecmaFeatures": {
"jsx": true,
"experimentalObjectRestSpread": true
}
2015-06-19 15:35:39 +08:00
},
"plugins": [
2016-01-19 16:52:54 +08:00
"markdown",
2015-09-01 16:18:46 +08:00
"react",
"babel"
],
"rules": {
"comma-dangle": 0,
"func-names": 0,
"prefer-const": 0,
"arrow-body-style": 0,
2015-09-01 16:18:46 +08:00
"react/sort-comp": 0,
"react/no-multi-comp": 0,
"react/prop-types": 0,
2016-01-05 14:42:06 +08:00
"react/prefer-es6-class": 0,
"react/prefer-stateless-function": 0,
2016-01-05 14:42:06 +08:00
"react/jsx-closing-bracket-location": 0,
"react/jsx-no-bind": 0,
2016-01-08 14:31:12 +08:00
"no-param-reassign": 0,
"no-return-assign": 0,
"max-len": 0,
"consistent-return": 0
2015-09-01 16:18:46 +08:00
}
2015-06-10 17:59:32 +08:00
}