Skip to content

Commit

Permalink
Support parserOptions.project for perennial and perennial-alias, see p…
Browse files Browse the repository at this point in the history
  • Loading branch information
samreid committed Sep 20, 2024
1 parent 3f08d30 commit 0e7589d
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 15 deletions.
21 changes: 21 additions & 0 deletions .eslintrc.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
// Copyright 2024, University of Colorado Boulder
/**
* @author Sam Reid (PhET Interactive Simulations)
*/
module.exports = {
extends: '../chipper/eslint/node_eslintrc.js',
overrides: [
{
files: [
'**/*.ts'
],
parserOptions: {
project: [

// Support both perennial and perennial-alias
__dirname + '/tsconfig.json'
]
}
}
]
};
15 changes: 0 additions & 15 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -35,21 +35,6 @@
"winston-loggly": "~1.3.1",
"xml2js": "~0.4.15"
},
"eslintConfig": {
"extends": "../chipper/eslint/node_eslintrc.js",
"overrides": [
{
"files": [
"**/*.ts"
],
"parserOptions": {
"project": [
"../perennial/tsconfig.json"
]
}
}
]
},
"dependencies": {
"nodemailer": "^6.9.1",
"pug": "^3.0.2"
Expand Down

0 comments on commit 0e7589d

Please sign in to comment.