Skip to content

Commit 3f05158

Browse files
committed
Enable ESLint on config files
1 parent c9c48de commit 3f05158

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

eslint.config.ts

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -33,9 +33,6 @@ const config = tsEslint.config([
3333
'**/public/packs*/*',
3434
'**/gen-examples',
3535
'**/bundle/',
36-
// These files can't be included in tsconfig.json because they can't be compiled under Node 16
37-
'eslint.config.ts',
38-
'knip.ts',
3936
]),
4037
{
4138
files: ['**/*.[jt]s', '**/*.[jt]sx', '**/*.[cm][jt]s'],
@@ -123,7 +120,9 @@ const config = tsEslint.config([
123120

124121
languageOptions: {
125122
parserOptions: {
126-
project: true,
123+
projectService: {
124+
allowDefaultProject: ['eslint.config.ts', 'knip.ts'],
125+
},
127126
},
128127
},
129128

0 commit comments

Comments
 (0)