mirror of
https://github.com/status-im/sourcecred.git
synced 2025-01-10 04:36:25 +00:00
47c7e33ec2
Summary: In fact, a constructor that only calls `super` is useful: it specifies the API for constructing an object of a given class without needing to traverse its prototype chain. (That constructors are inherited at all is arguably a design flaw.) Test Plan: None. wchargin-branch: yes-useful-constructor
17 lines
349 B
JavaScript
17 lines
349 B
JavaScript
// @flow
|
|
module.exports = {
|
|
extends: "react-app",
|
|
rules: {
|
|
"no-unused-vars": [
|
|
"warn",
|
|
{
|
|
argsIgnorePattern: "^_$|^_unused_",
|
|
varsIgnorePattern: "^_$|^_unused_",
|
|
caughtErrorsIgnorePattern: "^_$|^_unused_",
|
|
},
|
|
],
|
|
"no-use-before-define": ["off"],
|
|
"no-useless-constructor": ["off"],
|
|
},
|
|
};
|