We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9f86da0 commit 6a735f3Copy full SHA for 6a735f3
src/eslint.ts
@@ -23,7 +23,7 @@ export function esLint(eslint: any, config?: any) {
23
rules: {}
24
}
25
eslint.getRules().forEach((desc: any, name: string) => {
26
- if (desc.meta.docs.recommended) config.rules[name] = 2
+ if (desc.meta.docs?.recommended) config.rules[name] = 2
27
})
28
29
0 commit comments