-
Notifications
You must be signed in to change notification settings - Fork 14
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Stricter tsconfig and lint for some TypeScript repos #1380
Comments
I tested and they are equivalent. So in the above commit, I've replaced "eslintConfig.override.rules" with the simpler "eslintConfig.rules" form. |
In the above commits, I moved all TypeScript rules to Closing. |
I'm responsible for a growing number of sims and common-code repos that have been converted to TypeScript. Most of them are very clean and exceed the requirements of chipper/eslint/sim_eslintrc.js. and I'd like to keep it that way.
TODO:
(1) Identify what to make stricter, and whether that should be done via tsconfig.json or package.json "eslintConfig".
(2) Identify the correct pattern to use in package.json "eslintConfig". I see this being done in 2 different ways, and I'm not sure if they are correct/equivalent. For example, I added this override to geometric-optics/package.json to prevent
// @ts-
comments:But @zepumph recently added this override to a number of repos to opt-out of "todo-should-have-issue". It's less verbose, but is this also effectively an override? Why is it not in the "eslintConfig.overrides" section?
The text was updated successfully, but these errors were encountered: