Skip to content
This repository has been archived by the owner on Nov 16, 2023. It is now read-only.

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 authored May 29, 2020
1 parent f9e2780 commit 526e1e9
Show file tree
Hide file tree
Showing 4 changed files with 121 additions and 152 deletions.
2 changes: 1 addition & 1 deletion 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 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 526e1e9

Please sign in to comment.