Skip to content

Conversation

@overlookmotel
Copy link
Member

@overlookmotel overlookmotel commented Oct 7, 2025

Extend support for placeholder interpolation to normal message (without messageId).

context.report({
  message: 'Do not use {{ type }}',
  data: { type: node.type },
  node,
});

@github-actions github-actions bot added A-linter Area - Linter A-cli Area - CLI labels Oct 7, 2025
Copy link
Member Author

overlookmotel commented Oct 7, 2025


How to use the Graphite Merge Queue

Add either label to this PR to merge it via the merge queue:

  • 0-merge - adds this PR to the back of the merge queue
  • hotfix - for urgent hot fixes, skip the queue and merge this PR next

You must have a Graphite account in order to use the merge queue. Sign up using this link.

An organization admin has enabled the Graphite Merge Queue in this repository.

Please do not merge from GitHub as this will restart CI on PRs being processed by the merge queue.

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

@github-actions github-actions bot added the C-enhancement Category - New feature or request label Oct 7, 2025
@overlookmotel overlookmotel marked this pull request as ready for review October 7, 2025 18:25
@overlookmotel overlookmotel requested a review from camc314 as a code owner October 7, 2025 18:25
@overlookmotel overlookmotel force-pushed the 10-07-perf_linter_plugins_avoid_private_methods branch from 464a49b to aaa34e1 Compare October 7, 2025 18:33
@overlookmotel overlookmotel force-pushed the 10-07-feat_linter_plugins_support_interpolation_in_normal_diagnostic_message_ branch from c6cb771 to 123c57f Compare October 7, 2025 18:33
@graphite-app graphite-app bot force-pushed the 10-07-perf_linter_plugins_avoid_private_methods branch 2 times, most recently from 8f4bdfd to 45831d0 Compare October 7, 2025 18:48
@graphite-app graphite-app bot added the 0-merge Merge with Graphite Merge Queue label Oct 7, 2025
@overlookmotel overlookmotel force-pushed the 10-07-feat_linter_plugins_support_interpolation_in_normal_diagnostic_message_ branch from 123c57f to c63478e Compare October 7, 2025 18:58
@graphite-app graphite-app bot changed the base branch from 10-07-perf_linter_plugins_avoid_private_methods to main October 7, 2025 18:59
@graphite-app
Copy link
Contributor

graphite-app bot commented Oct 7, 2025

Merge activity

  • Oct 7, 6:59 PM UTC: Graphite rebased this pull request, because this pull request is set to merge when ready.
  • Oct 7, 7:12 PM UTC: overlookmotel added this pull request to the Graphite merge queue.
  • Oct 7, 7:17 PM UTC: Merged by the Graphite merge queue.

@graphite-app graphite-app bot changed the base branch from main to graphite-base/14419 October 7, 2025 19:01
@graphite-app graphite-app bot force-pushed the 10-07-feat_linter_plugins_support_interpolation_in_normal_diagnostic_message_ branch from c63478e to 8c04d30 Compare October 7, 2025 19:06
@graphite-app graphite-app bot changed the base branch from graphite-base/14419 to main October 7, 2025 19:07
@graphite-app graphite-app bot force-pushed the 10-07-feat_linter_plugins_support_interpolation_in_normal_diagnostic_message_ branch from 8c04d30 to 6e4355e Compare October 7, 2025 19:07
…sage` (#14419)

Extend support for placeholder interpolation to normal `message` (without `messageId`).

```js
context.report({
  message: 'Do not use {{ type }}',
  data: { type: node.type },
  node,
});
```
@graphite-app graphite-app bot force-pushed the 10-07-feat_linter_plugins_support_interpolation_in_normal_diagnostic_message_ branch from 6e4355e to b2de44f Compare October 7, 2025 19:12
@graphite-app graphite-app bot merged commit b2de44f into main Oct 7, 2025
18 checks passed
@graphite-app graphite-app bot deleted the 10-07-feat_linter_plugins_support_interpolation_in_normal_diagnostic_message_ branch October 7, 2025 19:17
@graphite-app graphite-app bot removed the 0-merge Merge with Graphite Merge Queue label Oct 7, 2025
This was referenced Oct 8, 2025
camc314 added a commit that referenced this pull request Oct 8, 2025
## [1.21.0] - 2025-10-08

### 🚀 Features

- 576be20 linter/plugins: Support selectors DSL (#14435) (overlookmotel)
- b2de44f linter/plugins: Support interpolation in normal diagnostic
`message` (#14419) (overlookmotel)
- 382c5be linter/plugins: Support placeholders in messageIds (#14416)
(camc314)
- 529e88e linter/plugins: Support `messageId`s (#14415) (camc314)
- 83e7824 linter: Add `vue/require-default-export` rule (#14351) (Sysix)
- ff98536 linter: Add `vue/no-import-compiler-macros` rule (#14335)
(Sysix)
- 0ec0847 ci: Run napi tests on windows (#14383) (camc314)

### 🐛 Bug Fixes

- 11e0440 linter/jsx-handler-name: Improve handler name position in
error messages (#14174) (Takuji Shimokawa)
- 493082c language_server: Use the first Span of the message as the
primary Diagnostic range (#14057) (Sysix)
- 88ec1bd linter/plugins: Fix error messages (#14423) (overlookmotel)
- 18616c2 oxlint: Ignore fixtures dir for vitest (#14414) (camc314)
- ec02fe8 oxlint: Normalize path separators in snapshot tests (#14406)
(camc314)
- 6e8d2f6 language_server: Ignore JS plugins (#14379) (overlookmotel)
- 96663fb linter/plugins: Do not call `before` hook if empty visitor
(#14401) (overlookmotel)
- 52f04bd linter: Use `pathToFileURL` for importing plugins to ensure
correct URL format (#14394) (camc314)
- 1ea0d46 oxlint: Resolve tsdown deprecation warning (#14389) (camc314)
- bb679b5 linter: Promise/prefer-await-to-then strict option not reading
from config (#14382) (camc314)

### 🚜 Refactor

- 3374b8e linter/language_server: Move all lsp relevant code to
`oxc_language_server` crate (#14430) (Sysix)
- d24b74e linter/language_server: `oxc_linter::TsgoLinter::run_source`
returns `Message` (#14429) (Sysix)
- e5b7fb2 linter/language_server: `oxc_linter::Runtime::run_source`
returns `Message` (#14428) (Sysix)
- 3b26bf3 linter/plugins: Split adding visit function to compiler
visitor into multiple functions (#14433) (overlookmotel)
- af3a75e linter/plugins: Track ancestors while walking AST (#14432)
(overlookmotel)
- f279f0b linter/plugins: Do not lazy-load visitor keys (#14431)
(overlookmotel)
- 5e99ed3 linter/plugins: Allow nullish values as `message` or
`messageId` (#14422) (overlookmotel)
- dc30938 linter/plugins: Remove default value from `Context`
constructor (#14421) (overlookmotel)
- 28cfae0 oxlint: Use `vitest`s built in file snapshot comparison
(#14392) (camc314)
- 06b0e9f linter/plugins: Convert generated files to TS (#14385)
(overlookmotel)
- 52f35c6 napi/parser, linter/plugins: Rename `types.js` to
`type_ids.js` (#14384) (overlookmotel)

### ⚡ Performance

- 26435a1 linter/plugins: Small perf optimizations (#14420)
(overlookmotel)
- d8a8be1 linter/plugins: Avoid private methods (#14418) (overlookmotel)

### 🧪 Testing

- d8da4a4 linter/plugins: Clarify tests for message placeholders
(#14417) (overlookmotel)

Co-authored-by: camc314 <18101008+camc314@users.noreply.github.com>
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-enhancement Category - New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants