Disable the `no-useless-constructor` lint rule (#308)
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
This commit is contained in:
parent
630a6d6532
commit
47c7e33ec2
|
@ -11,5 +11,6 @@ module.exports = {
|
|||
},
|
||||
],
|
||||
"no-use-before-define": ["off"],
|
||||
"no-useless-constructor": ["off"],
|
||||
},
|
||||
};
|
||||
|
|
Loading…
Reference in New Issue