mirror of
https://github.com/zhigang1992/DefinitelyTyped.git
synced 2026-05-28 08:17:54 +08:00
Cleanup lint error: no-unnecessary-class
This commit is contained in:
@@ -349,10 +349,6 @@ function eql() {
|
||||
(4).should.eql(3, 'blah');
|
||||
}
|
||||
|
||||
class Buffer {
|
||||
constructor(arr: number[]) {
|
||||
}
|
||||
}
|
||||
function buffer() {
|
||||
expect(new Buffer([1])).to.eql(new Buffer([1]));
|
||||
(new Buffer([1])).should.eql(new Buffer([1]));
|
||||
|
||||
@@ -9,7 +9,6 @@
|
||||
"no-empty-interface": false,
|
||||
"no-inferrable-types": false,
|
||||
"no-redundant-jsdoc-2": false,
|
||||
"no-unnecessary-class": false,
|
||||
"no-unnecessary-generics": false,
|
||||
"prefer-const": false,
|
||||
"strict-export-declare-modifiers": false
|
||||
|
||||
Reference in New Issue
Block a user