|
|
@ -38,6 +38,7 @@ |
|
|
|
"jsx-a11y/label-has-for": 0, |
|
|
|
"prefer-destructuring": 0, |
|
|
|
"new-cap": 0, |
|
|
|
"no-continue": 0, |
|
|
|
"no-await-in-loop": 0, |
|
|
|
"no-restricted-globals": 0, |
|
|
|
"no-unused-expressions": 0, |
|
|
@ -48,7 +49,10 @@ |
|
|
|
"no-shadow": 0, |
|
|
|
"no-underscore-dangle": 0, |
|
|
|
"no-console": 2, |
|
|
|
"no-unused-vars": ["error", { "argsIgnorePattern": "^_", "vars": "all", "args": "after-used", "ignoreRestSiblings": true }], |
|
|
|
"no-unused-vars": [ |
|
|
|
"error", |
|
|
|
{ "argsIgnorePattern": "^_", "vars": "all", "args": "after-used", "ignoreRestSiblings": true } |
|
|
|
], |
|
|
|
"no-use-before-define": 0, |
|
|
|
"no-restricted-syntax": 0, |
|
|
|
"no-prototype-builtins": 0, |
|
|
@ -57,31 +61,31 @@ |
|
|
|
"react/jsx-curly-brace-presence": 0, |
|
|
|
"react/jsx-filename-extension": 0, |
|
|
|
"react/jsx-no-target-blank": 0, |
|
|
|
"react/jsx-no-literals": [1, {"noStrings": false}], |
|
|
|
"react/jsx-no-literals": [1, { "noStrings": false }], |
|
|
|
"react/prefer-stateless-function": 0, |
|
|
|
"react/require-default-props": 0, |
|
|
|
"react/no-multi-comp": 0, |
|
|
|
"react/sort-comp": [1, { |
|
|
|
order: [ |
|
|
|
'static-methods', |
|
|
|
'lifecycle', |
|
|
|
'everything-else', |
|
|
|
'render' |
|
|
|
] |
|
|
|
}] |
|
|
|
"react/sort-comp": [ |
|
|
|
1, |
|
|
|
{ |
|
|
|
"order": ["static-methods", "lifecycle", "everything-else", "render"] |
|
|
|
} |
|
|
|
] |
|
|
|
}, |
|
|
|
"settings": { |
|
|
|
"import/resolver": { |
|
|
|
"babel-module": {}, |
|
|
|
"babel-module": {} |
|
|
|
}, |
|
|
|
"flowtype": { |
|
|
|
"onlyFilesWithFlowAnnotation": true, |
|
|
|
"onlyFilesWithFlowAnnotation": true |
|
|
|
} |
|
|
|
}, |
|
|
|
"overrides": [{ |
|
|
|
"files": [ "*stories.js" ], |
|
|
|
"rules": { |
|
|
|
"react/jsx-no-literals": 0 |
|
|
|
"overrides": [ |
|
|
|
{ |
|
|
|
"files": ["*stories.js"], |
|
|
|
"rules": { |
|
|
|
"react/jsx-no-literals": 0 |
|
|
|
} |
|
|
|
} |
|
|
|
}] |
|
|
|
] |
|
|
|
} |
|
|
|