Skip to content

Commit 8acc394

Browse files
committed
feat: enable recommended type-aware rules from typescript-eslint
BREAKING CHANGE: this enables new ESLint rules that may cause linting done with `hover-scripts lint` to start to fail
1 parent 8a112d7 commit 8acc394

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/config/helpers/eslint.js

+3
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,9 @@ const buildConfig = ({withReact = false} = {}) => {
5454
parserOptions: {
5555
project: './tsconfig.json',
5656
},
57+
extends: [
58+
'plugin:@typescript-eslint/recommended-requiring-type-checking',
59+
],
5760
rules: {
5861
...parserRules(true),
5962
},

0 commit comments

Comments
 (0)