Skip to content
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

enable linters on more node.js implementations #2656

Merged
merged 1 commit into from
Sep 4, 2024

Conversation

anonrig
Copy link
Member

@anonrig anonrig commented Sep 4, 2024

Removes eslint-disable on more files and fixes the types along the way.

@anonrig anonrig requested review from a team as code owners September 4, 2024 16:28
@anonrig anonrig requested review from npaun and jp4a50 September 4, 2024 16:28
@@ -12,7 +12,7 @@
"noFallthroughCasesInSwitch": true,
"noImplicitOverride": true,
"noImplicitReturns": true,
"noPropertyAccessFromIndexSignature": true,
"noPropertyAccessFromIndexSignature": false,
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Note to reviewer:

I'm not quite sure why we enabled this in the first place. A object with a type of Record<unknown, unknown> has to access properties using obj['my_field'] rather than obj.my_field. Without this change, we create a lot of unnecessary strings.

@anonrig anonrig requested a review from jasnell September 4, 2024 16:29
@anonrig anonrig merged commit 71dc488 into main Sep 4, 2024
13 checks passed
@anonrig anonrig deleted the yagiz/enable-more-eslint-linters branch September 4, 2024 17:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants