2018-05-10 19:27:46 +00:00
|
|
|
// @flow
|
2018-04-30 21:52:28 +00:00
|
|
|
module.exports = {
|
2018-09-17 21:11:39 +00:00
|
|
|
parser: "babel-eslint",
|
|
|
|
plugins: ["flowtype"],
|
2018-04-30 21:52:28 +00:00
|
|
|
extends: "react-app",
|
|
|
|
rules: {
|
|
|
|
"no-unused-vars": [
|
|
|
|
"warn",
|
|
|
|
{
|
|
|
|
argsIgnorePattern: "^_$|^_unused_",
|
|
|
|
varsIgnorePattern: "^_$|^_unused_",
|
|
|
|
caughtErrorsIgnorePattern: "^_$|^_unused_",
|
|
|
|
},
|
|
|
|
],
|
|
|
|
"no-use-before-define": ["off"],
|
2018-05-28 22:01:28 +00:00
|
|
|
"no-useless-constructor": ["off"],
|
2018-04-30 21:52:28 +00:00
|
|
|
},
|
|
|
|
};
|