ant-design/.eslintrc

47 lines
1.0 KiB
Plaintext
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
},
"ecmaFeatures": {
2015-11-20 14:15:33 +08:00
"jsx": true,
"experimentalObjectRestSpread": true
2015-06-19 15:35:39 +08:00
},
"plugins": [
"markdown",
2015-09-01 16:18:46 +08:00
"react",
"babel"
],
"rules": {
"constructor-super": 2,
"comma-dangle": 0,
"func-names": 0,
"guard-for-in": 0,
"one-var": [2, { "initialized": "never" }],
"prefer-const": 0,
"key-spacing": 0,
"no-eq-null": 0,
"no-else-return": 0,
"no-param-reassign": 0,
"no-this-before-super": 2,
"no-undef": 2,
"no-unused-vars": [2, { "vars": "all", "args": "none" }],
"babel/object-shorthand": 0,
"react/jsx-no-duplicate-props": 2,
"react/sort-comp": 0,
"react/wrap-multilines": 0,
"react/no-multi-comp": 0,
"react/prop-types": 0,
"space-after-keywords": 0,
"space-before-blocks": 0,
"space-before-function-paren": 0,
"spaced-comment": 0,
2015-11-02 22:39:01 +08:00
"vars-on-top": 0,
"id-length": 0
2015-09-01 16:18:46 +08:00
}
2015-06-10 17:59:32 +08:00
}