mirror of
https://github.com/danbulant/oxc
synced 2026-05-19 12:19:15 +00:00
fix(linter): plugin prefix name for eslint-plugin-node (#5807)
This commit is contained in:
parent
3725d5d44e
commit
858f7af2b5
2 changed files with 2 additions and 1 deletions
|
|
@ -343,4 +343,5 @@ const PLUGIN_PREFIXES: phf::Map<&'static str, &'static str> = phf::phf_map! {
|
|||
"typescript" => "typescript-eslint",
|
||||
"unicorn" => "eslint-plugin-unicorn",
|
||||
"vitest" => "eslint-plugin-vitest",
|
||||
"node" => "eslint-plugin-node",
|
||||
};
|
||||
|
|
|
|||
|
|
@ -1,7 +1,7 @@
|
|||
---
|
||||
source: crates/oxc_linter/src/tester.rs
|
||||
---
|
||||
⚠ node(no-exports-assign): Disallow the assignment to `exports`.
|
||||
⚠ eslint-plugin-node(no-exports-assign): Disallow the assignment to `exports`.
|
||||
╭─[no_exports_assign.tsx:1:1]
|
||||
1 │ exports = {}
|
||||
· ───────
|
||||
|
|
|
|||
Loading…
Reference in a new issue