File tree Expand file tree Collapse file tree 2 files changed +15
-2
lines changed
Expand file tree Collapse file tree 2 files changed +15
-2
lines changed Original file line number Diff line number Diff line change @@ -168,7 +168,7 @@ Parameters:
168168- ` params.entries ` : The entries of the documentation (functions, constants and classes).
169169- ` params.options ` : Optional configuration to render the Markdown content. See ` types.ts ` for details.
170170
171- [ :link : Source] ( https://github.com/peterpeterparker/tsdoc-markdown/tree/main/src/lib/markdown.ts#L361 )
171+ [ :link : Source] ( https://github.com/peterpeterparker/tsdoc-markdown/tree/main/src/lib/markdown.ts#L365 )
172172
173173### :gear : generateDocumentation
174174
Original file line number Diff line number Diff line change 11import love from 'eslint-config-love' ;
22import eslintConfigPrettier from 'eslint-config-prettier' ;
33import globals from 'globals' ;
4+ import tseslint from 'typescript-eslint' ;
45
56export default [
67 {
@@ -24,6 +25,10 @@ export default [
2425 parserOptions : {
2526 project : [ 'tsconfig.json' ]
2627 }
28+ } ,
29+
30+ plugins : {
31+ '@typescript-eslint' : tseslint . plugin
2732 }
2833 } ,
2934
@@ -35,7 +40,15 @@ export default [
3540 '@typescript-eslint/no-unsafe-type-assertion' : 'off' ,
3641 '@typescript-eslint/strict-boolean-expressions' : 'off' ,
3742 '@typescript-eslint/no-unnecessary-condition' : 'off' ,
38- '@typescript-eslint/no-non-null-assertion' : 'off'
43+ '@typescript-eslint/no-non-null-assertion' : 'off' ,
44+ '@typescript-eslint/no-unused-vars' : [
45+ 'warn' ,
46+ {
47+ argsIgnorePattern : '^_' ,
48+ varsIgnorePattern : '^_' ,
49+ caughtErrorsIgnorePattern : '^_'
50+ }
51+ ]
3952 }
4053 }
4154] ;
You can’t perform that action at this time.
0 commit comments