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:
William Chargin 2018-05-28 15:01:28 -07:00 committed by GitHub
parent 630a6d6532
commit 47c7e33ec2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -11,5 +11,6 @@ module.exports = {
}, },
], ],
"no-use-before-define": ["off"], "no-use-before-define": ["off"],
"no-useless-constructor": ["off"],
}, },
}; };