Skip to content

Commit f71ec41

Browse files
authored
Fix tsconfig path lookup for IntelliJ (#3132)
IntelliJ's ESLint plugin suffers from a weird bug - it tries to resolve relative paths from the file that it is reading, even if the path is inherited from a config from another file
1 parent ee32224 commit f71ec41

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

website/.eslintrc.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ module.exports = {
44
parser: '@typescript-eslint/parser',
55

66
parserOptions: {
7-
project: './tsconfig.json',
7+
project: __dirname + '/tsconfig.json',
88
},
99

1010
root: true,

0 commit comments

Comments
 (0)