25 lines
696 B
Text
25 lines
696 B
Text
|
{
|
||
|
"env": {
|
||
|
"browser": true
|
||
|
},
|
||
|
"extends": "airbnb",
|
||
|
"rules": {
|
||
|
"react/prefer-stateless-function": "off",
|
||
|
"react/sort-comp": "off",
|
||
|
"no-param-reassign": "off",
|
||
|
"padded-blocks": "off",
|
||
|
|
||
|
"react/jsx-filename-extension": ["error", { "extensions": [".js", ".jsx"] }],
|
||
|
"react/prefer-es6-class": ["error", "never"],
|
||
|
"object-curly-spacing": ["error", "never"],
|
||
|
"no-underscore-dangle": ["error", { "allowAfterThis": true }],
|
||
|
"no-unused-vars": ["error", { "argsIgnorePattern": "_" }],
|
||
|
"new-cap": ["error", { "capIsNewExceptions": ["React.Children"] }]
|
||
|
},
|
||
|
"parserOptions": {
|
||
|
"ecmaFeatures": {
|
||
|
"experimentalObjectRestSpread": true,
|
||
|
}
|
||
|
}
|
||
|
}
|