-
Notifications
You must be signed in to change notification settings - Fork 535
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
refactor(container-runtime): Enable various eslint rules from our "recommended" config and fix violations #23609
Open
Josmithr
wants to merge
46
commits into
microsoft:main
Choose a base branch
from
Josmithr:container-runtime/eslint/more-recommended-rules-3
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
+542
−395
Open
Changes from all commits
Commits
Show all changes
46 commits
Select commit
Hold shift + click to select a range
0075c94
tools: Enable `@typescript-eslint/explicit-module-boundary-types` rule
Josmithr e6f0bea
refactor: Add explicit return types
Josmithr 0db2f45
refactor: Add missing return types
Josmithr 8ec1c28
refactor: Add missing return types
Josmithr 6ceb240
refactor: Add missing return types
Josmithr 29a0478
refactor: Add missing return types
Josmithr 665a2ad
refactor: Add missing return types
Josmithr b8fe27d
docs: Update comment syntax
Josmithr 66bad2c
refactor: Add missing return types
Josmithr ce5ea31
docs: Revert docs changes
Josmithr afb9b1e
refactor: Add missing return types
Josmithr a19695c
docs: Fix comment syntax
Josmithr e89080e
refactor: Add explicit return types
Josmithr 90b9ea9
docs: Comment cleanup
Josmithr 78916eb
refactor: Add explicit return types
Josmithr 05cbdf9
refactor: Add missing return types
Josmithr 3fe78ee
revert: Type signature change
Josmithr 80374c1
fix: Linter issue
Josmithr 78aa022
Merge branch 'main' into container-runtime/eslint/more-recommended-rules
Josmithr b6346f9
docs: Fix link
Josmithr 1d2beed
refactor: Add missing return types
Josmithr 4ef6b69
tools: Update config
Josmithr a4821be
refactor: Add missing return types
Josmithr c654f15
refactor: Add missing return types
Josmithr d5deb1a
refactor: Add missing return types
Josmithr e571f95
refactor: Add missing return types
Josmithr 996b5a1
Merge branch 'main' into container-runtime/eslint/more-recommended-ru…
Josmithr a44d6e8
Merge branch 'main' into container-runtime/eslint/more-recommended-ru…
Josmithr bb32988
refactor: Enable `unicorn/catch-error-name` and fix violations
Josmithr c316bee
refactor: Enable `unicorn/new-for-builtins` rule and fix violations
Josmithr 0bda13e
refactor: Enable `unicorn/no-array-callback-reference` rule and fix v…
Josmithr 2a2f48b
refactor: Enable `unicorn/no-array-for-each` rule and fix violations
Josmithr ae5591c
tools: Disable `unicorn/no-array-push-push` rule
Josmithr fd4ff79
refactor: Enable `unicorn/no-zero-fractions` rule and fix violations
Josmithr 05e84a1
refactor: Enable `unicorn/prefer-node-protocol` rule and fix violations
Josmithr 1936b9e
refactor: Enable `unicorn/prefer-number-properties` rule and fix viol…
Josmithr 8f1ca39
refactor: Enable `unicorn/prefer-optional-catch-binding` rule and fix…
Josmithr 8a7dd98
refactor: Enable `unicorn/prefer-spread` rule and fix violations
Josmithr a7cb6bd
refactor: Enable `unicorn/switch-case-braces` rule and fix violations
Josmithr c28fcd8
tools: Enable `unicorn/throw-new-error` rule (no violations)
Josmithr 125a325
refactor: Enable `unicorn/no-null` rule and fix/ignore violations
Josmithr 54e802e
refactor: Enable `unicorn/consistent-destructuring` rule and fix/igno…
Josmithr 58bf24a
refactor: Enable `unicorn/prefer-string-slice` rule and fix violation
Josmithr 032f9b8
docs: Update TODOs
Josmithr d6a85ab
Merge branch 'main' into container-runtime/eslint/more-recommended-ru…
Josmithr 48b0a8d
docs: Add work item numbers to TODOs
Josmithr File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Future PR (trying to keep these PRs somewhat scoped so they're easier to review)