Skip to content

Comments

refactor(linter): remove unused CLI result types#7088

Merged
graphite-app[bot] merged 1 commit intomainfrom
11-01-refactor_linter_remove_unused_cli_result_types
Nov 2, 2024
Merged

refactor(linter): remove unused CLI result types#7088
graphite-app[bot] merged 1 commit intomainfrom
11-01-refactor_linter_remove_unused_cli_result_types

Conversation

@camchenry
Copy link
Member

@camchenry camchenry commented Nov 2, 2024

It doesn't seem like we should implement type checking or formatting in the oxlint binary. Plus, these are unused currently. So I removed them.

@graphite-app
Copy link
Contributor

graphite-app bot commented Nov 2, 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 the A-cli Area - CLI label Nov 2, 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

@github-actions github-actions bot added the C-cleanup Category - technical debt or refactoring. Solution not expected to change behavior label Nov 2, 2024
@camchenry camchenry marked this pull request as ready for review November 2, 2024 03:53
@Boshen Boshen added the 0-merge Merge with Graphite Merge Queue label Nov 2, 2024
Copy link
Member

Boshen commented Nov 2, 2024

Merge activity

  • Nov 2, 2:14 AM EDT: The merge label '0-merge' was detected. This PR will be added to the Graphite merge queue once it meets the requirements.
  • Nov 2, 2:14 AM EDT: A user added this pull request to the Graphite merge queue.
  • Nov 2, 2:25 AM EDT: A user merged this pull request with the Graphite merge queue.

@Boshen
Copy link
Member

Boshen commented Nov 2, 2024

They are remnant of past code.

Boshen pushed a commit that referenced this pull request Nov 2, 2024
It doesn't seem like we should implement type checking or formatting in the `oxlint` binary. Plus, these are unused currently. So I removed them.
@Boshen Boshen force-pushed the 11-01-refactor_linter_remove_unused_cli_result_types branch from c22b385 to 3c83f01 Compare November 2, 2024 06:15
It doesn't seem like we should implement type checking or formatting in the `oxlint` binary. Plus, these are unused currently. So I removed them.
@Boshen Boshen force-pushed the 11-01-refactor_linter_remove_unused_cli_result_types branch from 3c83f01 to a8dc75d Compare November 2, 2024 06:17
@graphite-app graphite-app bot merged commit a8dc75d into main Nov 2, 2024
@graphite-app graphite-app bot deleted the 11-01-refactor_linter_remove_unused_cli_result_types branch November 2, 2024 06:25
@oxc-bot oxc-bot mentioned this pull request Nov 3, 2024
Boshen added a commit that referenced this pull request Nov 3, 2024
## [0.11.0] - 2024-11-03

- 9fd9f4f linter: [**BREAKING**] Sync sindresorhus/globals; removed
Object.prototype properties from builtin and es* globals (#6991)
(Boshen)

### Features

- 6b619da editor: Listen to config file changes and trigger a
didChangeConfiguration update (#6964) (Nicholas Rayburn)
- 7872927 editor/vscode: Support window/showMessage event (#7085)
(Nicholas Rayburn)
- 2184588 linter: Do not bail for unmatched rules yet (#7093) (Boshen)
- a6fcd81 linter: Add `import/no-commonjs` rule (#6978) (Dmitry
Zakharov)
- 1691cab linter: Support user-configurable secrets for
`oxc-security/api-keys` (#5938) (DonIsaac)
- 610621c linter: Implement `react/style-prop-object` (#6342) (Albert
Kaaman)
- 1e2f012 linter: Add `oxc/no-map-spread` (#6751) (DonIsaac)
- 1c66473 linter: Implement `eslint/prefer-object-has-own` (#6905)
(tomoya yanagibashi)

### Bug Fixes

- ebf3753 editor: Fix onConfigChange to send the correct config for
didChangeConfiguration notification (#6962) (Nicholas Rayburn)
- 79bf74a linter: Check is_reference_to_global_variable in
`no-array-constructor` (#7067) (Naoya Yoshizawa)
- 38d1f78 linter: Remove confusing help text for now (#7081) (Cam
McHenry)
- 147e2e4 linter: Allow replacing rule when none are enabled yet (#7014)
(camchenry)
- 7aa496a linter: Remove unsafe fixer of `no-useless-spread` (#6655)
(dalaoshu)
- f5a7134 linter/no-unused-vars: False positive for discarded reads
within sequences (#6907) (DonIsaac)

### Documentation

- 4551baa linter: Document `rules` (#6983) (Boshen)

### Refactor

- a8dc75d linter: Remove unused CLI result types (#7088) (camchenry)
- 8f1460e linter: Move `LintPlugins` from `LintOptions` to `LintConfig`
(#6932) (DonIsaac)

### Testing

- c35d3f2 linter: Improve test failure output (#6975) (camchenry)

---------

Co-authored-by: Boshen <[email protected]>
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

0-merge Merge with Graphite Merge Queue A-cli Area - CLI C-cleanup Category - technical debt or refactoring. Solution not expected to change behavior

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants