Skip to content

Commit

Permalink
Update and re-enable tslint rules (#296)
Browse files Browse the repository at this point in the history
1. Update to dts-critic and @definitelytyped/definitions-parser that use
peerDeps for typescript.
2. Specify dts-critic@latest instead of a specific version.
3. Re-enable the disabled lint rules.
  • Loading branch information
sandersn committed Nov 29, 2021
1 parent ab84bf6 commit 0e253aa
Show file tree
Hide file tree
Showing 4 changed files with 121 additions and 152 deletions.
2 changes: 1 addition & 1 deletion packages/dtslint/dt.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
"no-outside-dependencies": true,

"no-redundant-jsdoc": false,
"no-redundant-jsdoc-2": false,
"no-redundant-jsdoc-2": true,

"npm-naming": [true, { "mode": "code" }]
}
Expand Down
4 changes: 2 additions & 2 deletions packages/dtslint/dtslint.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,15 +12,15 @@
"no-padding": true,
"no-redundant-undefined": true,
"no-relative-import-in-test": true,
"strict-export-declare-modifiers": false,
"strict-export-declare-modifiers": true,
"no-any-union": true,
"no-single-declare-module": true,
"no-unnecessary-generics": true,
"no-useless-files": true,
"prefer-declare-function": true,
"trim-file": true,
"unified-signatures": true,
"void-return": false,
"void-return": true,
"npm-naming": true,

"comment-format": [true, "check-space"], // But not check-uppercase or check-lowercase
Expand Down
Loading

0 comments on commit 0e253aa

Please sign in to comment.