fix(linter): move exhaustive-deps to react#7251
Merged
graphite-app[bot] merged 1 commit intomainfrom Nov 14, 2024
Merged
Conversation
Contributor
Your org has enabled the Graphite merge queue for merging into mainAdd the label “0-merge” to the PR and Graphite will automatically add it to the merge queue when it’s ready to merge. Or use the label “hotfix” to add to the merge queue as a hot fix. You must have a Graphite account and log in to Graphite in order to use the merge queue. Sign up using this link. |
Contributor
Author
This stack of pull requests is managed by Graphite. Learn more about stacking. |
Base automatically changed from
c/11-12-fix_linter_react_exhaustive-deps_update_span_for_unknown_deps_diagnostic
to
main
November 12, 2024 12:02
CodSpeed Performance ReportMerging #7251 will not alter performanceComparing Summary
|
f424158 to
148bf21
Compare
Boshen
approved these changes
Nov 12, 2024
camchenry
approved these changes
Nov 12, 2024
Contributor
Author
Merge activity
|
Member
|
@camc314 It looks like the snapshots need updated |
Contributor
Author
|
shoot, thanks for the ping |
148bf21 to
ca91cc4
Compare
@Boshen lemme know if this is incorrect, but i noticed that `rules-of-hooks` lives inside `react` not `react-hooks` https://github.com/oxc-project/oxc/blob/1f2a6c666f55df21a6cc2409eb93482b4e57d50f/crates/oxc_linter/src/config/rules.rs#L291-L292 https://github.com/oxc-project/oxc/blob/1f2a6c666f55df21a6cc2409eb93482b4e57d50f/crates/oxc_linter/src/options/filter.rs#L254
ca91cc4 to
ff2a1d4
Compare
Dunqing
pushed a commit
that referenced
this pull request
Nov 17, 2024
@Boshen lemme know if this is incorrect, but i noticed that `rules-of-hooks` lives inside `react` not `react-hooks` https://github.com/oxc-project/oxc/blob/1f2a6c666f55df21a6cc2409eb93482b4e57d50f/crates/oxc_linter/src/config/rules.rs#L291-L292 https://github.com/oxc-project/oxc/blob/1f2a6c666f55df21a6cc2409eb93482b4e57d50f/crates/oxc_linter/src/options/filter.rs#L254
Dunqing
pushed a commit
that referenced
this pull request
Nov 18, 2024
@Boshen lemme know if this is incorrect, but i noticed that `rules-of-hooks` lives inside `react` not `react-hooks` https://github.com/oxc-project/oxc/blob/1f2a6c666f55df21a6cc2409eb93482b4e57d50f/crates/oxc_linter/src/config/rules.rs#L291-L292 https://github.com/oxc-project/oxc/blob/1f2a6c666f55df21a6cc2409eb93482b4e57d50f/crates/oxc_linter/src/options/filter.rs#L254
Dunqing
pushed a commit
that referenced
this pull request
Nov 18, 2024
@Boshen lemme know if this is incorrect, but i noticed that `rules-of-hooks` lives inside `react` not `react-hooks` https://github.com/oxc-project/oxc/blob/1f2a6c666f55df21a6cc2409eb93482b4e57d50f/crates/oxc_linter/src/config/rules.rs#L291-L292 https://github.com/oxc-project/oxc/blob/1f2a6c666f55df21a6cc2409eb93482b4e57d50f/crates/oxc_linter/src/options/filter.rs#L254
Boshen
added a commit
that referenced
this pull request
Nov 20, 2024
## [0.12.0] - 2024-11-20 - 20d9080 linter: [**BREAKING**] Override plugins array when passed in config file (#7303) (camchenry) ### Features - 1d9f528 linter: Implement `unicorn/prefer-string-raw` lint rule (#7335) (Ryan Walker) - d445e0f linter: Implement `unicorn/consistent-existence-index-check` (#7262) (Ryan Walker) - 01ddf37 linter: Add `allowReject` option to `no-useless-promise-resolve-reject` (#7274) (no-yan) - 755a31b linter: Support bind function case for compatibility with `promise/no-return-wrap` (#7232) (no-yan) - 428770e linter: Add `import/no-namespace` rule (#7229) (Dmitry Zakharov) - 9c91151 linter: Implement typescript/no-empty-object-type (#6977) (Orenbek) - 2268a0e linter: Support `overrides` config field (#6974) (DonIsaac) - 3dcac1a linter: React/exhaustive-deps (#7151) (camc314) - d3a0119 oxlint: Add `cwd` property to `LintRunner` (#7352) (Alexander S.) ### Bug Fixes - ba0b2ff editor: Reload workspace configuration after change (#7302) (Alexander S.) - bc0e72c linter: Handle user variables correctly for import/no_commonjs (#7316) (Dmitry Zakharov) - bf839c1 linter: False positive in `jest/expect-expect` (#7341) (dalaoshu) - ff2a1d4 linter: Move `exhaustive-deps` to `react` (#7251) (camc314) - df5c535 linter: Revert unmatched rule error (#7257) (Cameron A McHenry) - c4ed230 linter: Fix false positive in eslint/no-cond-assign (#7241) (camc314) - ef847da linter: False positive in `jsx-a11y/iframe-has-title` (#7253) (dalaoshu) - 62b6327 linter: React/exhaustive-deps update span for unknown deps diagnostic (#7249) (camc314) ### Documentation - 4c124a8 editor/vscode: Update VS Code readme with installation instructions and available features (#7306) (Nicholas Rayburn) ### Refactor - c6a4868 linter: Temporarily remove unknown rules checking (#7260) (camchenry) ### Testing - 5190b7f editor: Add test setup (#7361) (Alexander S.) Co-authored-by: Boshen <1430279+Boshen@users.noreply.github.com>
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.

@Boshen lemme know if this is incorrect, but i noticed that
rules-of-hookslives insidereactnotreact-hooksoxc/crates/oxc_linter/src/config/rules.rs
Lines 291 to 292 in 1f2a6c6
oxc/crates/oxc_linter/src/options/filter.rs
Line 254 in 1f2a6c6