Skip to content

Commit

Permalink
move TypeScript rules to eslintConfig.overrides.rules, phetsims/chipp…
Browse files Browse the repository at this point in the history
  • Loading branch information
pixelzoom committed Feb 21, 2023
1 parent b5ee118 commit 93f428d
Showing 1 changed file with 11 additions and 4 deletions.
15 changes: 11 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,9 +26,16 @@
},
"eslintConfig": {
"extends": "../chipper/eslint/sim_eslintrc.js",
"rules": {
"@typescript-eslint/no-explicit-any": "error",
"@typescript-eslint/ban-ts-comment": "error"
}
"overrides": [
{
"files": [
"**/*.ts"
],
"rules": {
"@typescript-eslint/no-explicit-any": "error",
"@typescript-eslint/ban-ts-comment": "error"
}
}
]
}
}

0 comments on commit 93f428d

Please sign in to comment.