File tree Expand file tree Collapse file tree 2 files changed +10
-1
lines changed Expand file tree Collapse file tree 2 files changed +10
-1
lines changed Original file line number Diff line number Diff line change @@ -11,8 +11,11 @@ if (typeof window !== 'undefined' && typeof require === 'undefined') {
1111import type { Theme } from 'vitepress'
1212// @ts -expect-error -- Cannot change `module` option
1313import DefaultTheme from 'vitepress/theme'
14+ // @ts -expect-error -- ignore
1415import Layout from './Layout.vue'
16+ // @ts -expect-error -- ignore
1517import ESLintCodeBlock from './components/eslint-code-block.vue'
18+ // @ts -expect-error -- ignore
1619import RulesTable from './components/rules-table.vue'
1720
1821const theme : Theme = {
Original file line number Diff line number Diff line change @@ -285,7 +285,13 @@ export default typegen([
285285 '@typescript-eslint/no-empty-object-type' : 'off' ,
286286 '@typescript-eslint/no-namespace' : 'off' ,
287287 '@typescript-eslint/triple-slash-reference' : 'off' ,
288- '@typescript-eslint/unified-signatures' : 'off'
288+ '@typescript-eslint/unified-signatures' : 'off' ,
289+ '@typescript-eslint/ban-ts-comment' : [
290+ 'error' ,
291+ {
292+ minimumDescriptionLength : 3
293+ }
294+ ]
289295 }
290296 } ,
291297
You can’t perform that action at this time.
0 commit comments