mirror of
https://github.com/status-im/sourcecred.git
synced 2025-01-11 21:24:35 +00:00
8442255db3
I wanted to add two new flowtype lint rules. However, as seen in #853 and #854, these rules don't work very well. As such, I'm giving up on those two and removing the TODOs. Test plan: n/a
19 lines
400 B
JavaScript
19 lines
400 B
JavaScript
// @flow
|
|
module.exports = {
|
|
parser: "babel-eslint",
|
|
plugins: ["flowtype"],
|
|
extends: "react-app",
|
|
rules: {
|
|
"no-unused-vars": [
|
|
"warn",
|
|
{
|
|
argsIgnorePattern: "^_$|^_unused_",
|
|
varsIgnorePattern: "^_$|^_unused_",
|
|
caughtErrorsIgnorePattern: "^_$|^_unused_",
|
|
},
|
|
],
|
|
"no-use-before-define": ["off"],
|
|
"no-useless-constructor": ["off"],
|
|
},
|
|
};
|