File tree 5 files changed +378
-322
lines changed
5 files changed +378
-322
lines changed Original file line number Diff line number Diff line change @@ -86,6 +86,7 @@ yarn add -D \
86
86
eslint-plugin-optimize-regex \
87
87
eslint-plugin-promise \
88
88
eslint-plugin-sonarjs \
89
+ eslint-plugin-tsdoc \
89
90
eslint-plugin-unicorn
90
91
```
91
92
Original file line number Diff line number Diff line change 90
90
"eslint-plugin-prettier" : " ^4.0.0" ,
91
91
"eslint-plugin-promise" : " ^6.0.0" ,
92
92
"eslint-plugin-sonarjs" : " ^0.11.0" ,
93
+ "eslint-plugin-tsdoc" : " ^0.2.14" ,
93
94
"eslint-plugin-unicorn" : " ^40.0.0" ,
94
95
"husky" : " ^7.0.2" ,
95
96
"lint-staged" : " ^12.1.4" ,
118
119
"eslint-plugin-optimize-regex" : " *" ,
119
120
"eslint-plugin-promise" : " *" ,
120
121
"eslint-plugin-sonarjs" : " *" ,
122
+ "eslint-plugin-tsdoc" : " *" ,
121
123
"eslint-plugin-unicorn" : " *"
122
124
},
123
125
"engines" : {
Original file line number Diff line number Diff line change 1
1
import { deepmerge } from "deepmerge-ts" ;
2
2
import type { Linter } from "eslint" ;
3
3
4
+ import { settings as tsdoc } from "~/plugins/tsdoc" ;
4
5
import { settings as typescript } from "~/plugins/typescript" ;
5
6
6
7
const baseConfig : Linter . Config = {
@@ -45,4 +46,4 @@ const baseConfig: Linter.Config = {
45
46
] ,
46
47
} ;
47
48
48
- export default deepmerge ( baseConfig , typescript ) ;
49
+ export default deepmerge ( baseConfig , typescript , tsdoc ) ;
Original file line number Diff line number Diff line change
1
+ import type { Linter } from "eslint" ;
2
+
3
+ export const settings : Linter . Config = {
4
+ plugins : [ "tsdoc" ] ,
5
+
6
+ rules : {
7
+ "tsdoc/syntax" : "warn" ,
8
+ } ,
9
+ } ;
You can’t perform that action at this time.
0 commit comments