Skip to content

Commit c3f5316

Browse files
author
devgioele
committed
apply type-aware linting to typescript files only
1 parent ab78297 commit c3f5316

1 file changed

Lines changed: 4 additions & 2 deletions

File tree

ts.js

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,10 @@ module.exports = {
1313
},
1414
overrides: [
1515
{
16-
extends: ['plugin:@typescript-eslint/disable-type-checked'],
17-
files: ['./**/*.js', './**/*.json']
16+
extends: [
17+
'plugin:@typescript-eslint/recommended-requiring-type-checking'
18+
],
19+
files: ['./**/*.{ts,tsx}']
1820
}
1921
],
2022
env: {

0 commit comments

Comments
 (0)