mirror of
https://github.com/status-im/sourcecred.git
synced 2025-01-11 21:24:35 +00:00
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-use-before-define": ["off"],
|
||||||
|
"no-useless-constructor": ["off"],
|
||||||
},
|
},
|
||||||
};
|
};
|
||||||
|
Loading…
x
Reference in New Issue
Block a user