Skip to content

Commit

Permalink
configure ban-ts-comment in package.json, phetsims/chipper#1389
Browse files Browse the repository at this point in the history
  • Loading branch information
pixelzoom committed Apr 24, 2023
1 parent c0bf237 commit a8e7b59
Showing 1 changed file with 20 additions and 1 deletion.
21 changes: 20 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,25 @@
"published": true
},
"eslintConfig": {
"extends": "../chipper/eslint/sim_eslintrc.js"
"extends": "../chipper/eslint/sim_eslintrc.js",
"overrides": [
{
"files": [
"**/*.ts"
],
"rules": {
"@typescript-eslint/no-explicit-any": "error",
"@typescript-eslint/ban-ts-comment": [
"error",
{
"ts-expect-error": true,
"ts-ignore": true,
"ts-check": true,
"ts-nocheck": true
}
]
}
}
]
}
}

0 comments on commit a8e7b59

Please sign in to comment.