Skip to content

Commit d558806

Browse files
authored
fix: jsdoc entries (#21)
1 parent 3fec6ed commit d558806

File tree

10 files changed

+394
-172
lines changed

10 files changed

+394
-172
lines changed

.eslintrc.json

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,11 @@
33
"browser": false,
44
"es2021": true
55
},
6-
"extends": ["eslint:recommended", "plugin:@typescript-eslint/recommended"],
6+
"extends": [
7+
"eslint:recommended",
8+
"plugin:@typescript-eslint/recommended",
9+
"plugin:jsdoc/recommended-typescript-error"
10+
],
711
"parser": "@typescript-eslint/parser",
812
"parserOptions": {
913
"project": ["tsconfig.json"],
@@ -13,7 +17,8 @@
1317
"class-methods-use-this": "warn",
1418
"consistent-this": "warn",
1519
"no-invalid-this": "warn",
16-
"@typescript-eslint/no-floating-promises": ["warn"]
20+
"@typescript-eslint/no-floating-promises": ["warn"],
21+
"jsdoc/tag-lines": ["error", "any", { "startLines": 1 }]
1722
},
1823
"plugins": ["@typescript-eslint"],
1924
"ignorePatterns": ["node_modules", "dist", "__mocks__"],

0 commit comments

Comments
 (0)