Skip to content

Commit f7cdac5

Browse files
committedNov 24, 2019
Add eslint-plugin-tsdoc
1 parent 4e65afe commit f7cdac5

File tree

3 files changed

+50
-1
lines changed

3 files changed

+50
-1
lines changed
 

‎.eslintrc.js

+3-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ module.exports = {
44
sourceType: "module",
55
project: "./tsconfig.json",
66
},
7-
plugins: ["@typescript-eslint"],
7+
plugins: ["@typescript-eslint", "eslint-plugin-tsdoc"],
88
env: {
99
browser: true,
1010
node: true,
@@ -188,5 +188,7 @@ module.exports = {
188188
"@typescript-eslint/consistent-type-definitions": ["error", "interface"],
189189
"@typescript-eslint/no-floating-promises": "error",
190190
"@typescript-eslint/strict-boolean-expressions": "off",
191+
// tsdoc
192+
"tsdoc/syntax": "error",
191193
},
192194
};

‎package-lock.json

+46
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

‎package.json

+1
Original file line numberDiff line numberDiff line change
@@ -68,6 +68,7 @@
6868
"@typescript-eslint/parser": "2.6.1",
6969
"core-js": "3.3.6",
7070
"eslint": "6.6.0",
71+
"eslint-plugin-tsdoc": "0.2.0",
7172
"google-closure-compiler": "20191027.0.0",
7273
"jest": "24.9.0",
7374
"lerna": "3.18.3",

0 commit comments

Comments
 (0)