Skip to content

Comments

fix(linter): revert unmatched rule error#7257

Merged
Boshen merged 1 commit intomainfrom
11-12-fix_linter_revert_unmatched_rule_error
Nov 13, 2024
Merged

fix(linter): revert unmatched rule error#7257
Boshen merged 1 commit intomainfrom
11-12-fix_linter_revert_unmatched_rule_error

Conversation

@camchenry
Copy link
Member

@camchenry camchenry commented Nov 12, 2024

This is causing a lot of errors currently such as #7233. I think we need to handle rule names more robustly first:

then, I think we can revisit this and maybe implement it as an actual lint plugin too? #7086

@graphite-app
Copy link
Contributor

graphite-app bot commented Nov 12, 2024

Your org has enabled the Graphite merge queue for merging into main

Add 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.

@github-actions github-actions bot added A-linter Area - Linter A-cli Area - CLI C-bug Category - Bug labels Nov 12, 2024
Copy link
Member Author

This stack of pull requests is managed by Graphite. Learn more about stacking.

Join @camchenry and the rest of your teammates on Graphite Graphite

@camchenry camchenry requested review from Boshen and camc314 November 12, 2024 16:12
@camchenry camchenry marked this pull request as ready for review November 12, 2024 16:12
@codspeed-hq
Copy link

codspeed-hq bot commented Nov 12, 2024

CodSpeed Performance Report

Merging #7257 will not alter performance

Comparing 11-12-fix_linter_revert_unmatched_rule_error (9594117) with main (c4ed230)

Summary

✅ 30 untouched benchmarks

@camchenry camchenry force-pushed the 11-12-fix_linter_revert_unmatched_rule_error branch from 9594117 to be47d56 Compare November 12, 2024 16:20
@camchenry
Copy link
Member Author

Noting that we are still accumulating the unknown rules internally, but we just won't report it to users anymore.

@Boshen Boshen merged commit df5c535 into main Nov 13, 2024
@Boshen Boshen deleted the 11-12-fix_linter_revert_unmatched_rule_error branch November 13, 2024 01:06
Dunqing pushed a commit that referenced this pull request Nov 17, 2024
- related to #6988

This is causing a lot of errors currently such as
#7233. I think we need to
handle rule names more robustly first:

- #7240
- #7082
- #7242

then, I think we can revisit this and maybe implement it as an actual
lint plugin too? #7086
Dunqing pushed a commit that referenced this pull request Nov 18, 2024
- related to #6988

This is causing a lot of errors currently such as
#7233. I think we need to
handle rule names more robustly first:

- #7240
- #7082
- #7242

then, I think we can revisit this and maybe implement it as an actual
lint plugin too? #7086
Dunqing pushed a commit that referenced this pull request Nov 18, 2024
- related to #6988

This is causing a lot of errors currently such as
#7233. I think we need to
handle rule names more robustly first:

- #7240
- #7082
- #7242

then, I think we can revisit this and maybe implement it as an actual
lint plugin too? #7086
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 <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

A-cli Area - CLI A-linter Area - Linter C-bug Category - Bug

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants