0
只是想有證監會和ESLint抱怨ESLint規則被忽視
我HAZ在我.eslinrc
{
"env": {
"es6": true,
"browser": true
},
"extends": "airbnb",
"rules": {
"semi": [2, "never"],
"no-unexpected-multiline": 2,
"no-console": 0,
"react/prefer-stateless-function": [0, {
"ignorePureComponents": true
}],
"comma-dangle": ["error", "never"],
"arrow-body-style": ["error", "never"]
}
}
即使添加/* eslint arrow-body-style: ["error", "never"]*/
直接錯誤上述規則,任何人都碰到過這樣的?
我在做什麼錯