Skip to content

Commit

Permalink
Switch to projectService: true, see phetsims/chipper#1474
Browse files Browse the repository at this point in the history
  • Loading branch information
samreid authored and zepumph committed Oct 22, 2024
1 parent ee0e4e2 commit b3b5dfe
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions eslint/.eslintrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -53,11 +53,9 @@ module.exports = {
],
parser: '@typescript-eslint/parser',
parserOptions: {
sourceType: 'module',

// Provide a tsconfig so that we can use rules that require type information.
// NOTE: Providing this slows down eslint substantially, see https://github.com/phetsims/chipper/issues/1114#issuecomment-1065927717
project: [ '../chipper/tsconfig/all/tsconfig.json' ]
// Look up type information from the closest tsconfig.json
projectService: true
},
plugins: [
'@typescript-eslint',
Expand Down

0 comments on commit b3b5dfe

Please sign in to comment.