mirror of
https://github.com/zhigang1992/DefinitelyTyped.git
synced 2026-06-02 14:38:20 +08:00
Disable no-misused-new linting rule, so we can stay in line with winston's conventions.
See https://github.com/winstonjs/winston-mongodb/blob/master/lib/winston-mongodb.d.ts and https://github.com/winstonjs/winston-daily-rotate-file/blob/master/index.d.ts
This commit is contained in:
@@ -1,3 +1,8 @@
|
||||
{
|
||||
"extends": "dtslint/dt.json"
|
||||
"extends": "dtslint/dt.json",
|
||||
"rules": {
|
||||
// This allows to be in line with winston transport types.
|
||||
// See https://github.com/winstonjs/winston-mongodb/blob/master/lib/winston-mongodb.d.ts and https://github.com/winstonjs/winston-daily-rotate-file/blob/master/index.d.ts
|
||||
"no-misused-new": false
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user