Files
oxc-project__oxc/apps/oxlint/test/fixtures/getNodeByRangeIndex/output.snap.md
overlookmotel 6ad44809e6 refactor(linter/plugins): remove experimental warning (#18771)
As we prepare for alpha release of JS plugins, it feels like we can remove the warning logged to stderr.

```
WARNING: JS plugins are experimental and not subject to semver.
Breaking changes are possible while JS plugins support is under development.
```

They do still remain experimental, but I don't think we need to shout that quite as loudly now.
2026-01-31 17:28:11 +00:00

6.2 KiB

Exit code

1

stdout

  x getNode-plugin(getNode): type: null
   ,-[files/index.ts:1:1]
 1 | // Comment
   : ^
 2 | 
   `----

  x getNode-plugin(getNode): type: null
   ,-[files/index.ts:2:1]
 1 | // Comment
 2 | 
   : ^
 3 | let foo = 1 + 2;
   `----

  x getNode-plugin(getNode): type: VariableDeclaration
   ,-[files/index.ts:3:1]
 2 | 
 3 | let foo = 1 + 2;
   : ^
 4 | 
   `----

  x getNode-plugin(getNode): type: VariableDeclaration
   ,-[files/index.ts:3:3]
 2 | 
 3 | let foo = 1 + 2;
   :   ^
 4 | 
   `----

  x getNode-plugin(getNode): type: VariableDeclaration
   ,-[files/index.ts:3:4]
 2 | 
 3 | let foo = 1 + 2;
   :    ^
 4 | 
   `----

  x getNode-plugin(getNode): type: Identifier
   ,-[files/index.ts:3:5]
 2 | 
 3 | let foo = 1 + 2;
   :     ^
 4 | 
   `----

  x getNode-plugin(getNode): type: Identifier
   ,-[files/index.ts:3:7]
 2 | 
 3 | let foo = 1 + 2;
   :       ^
 4 | 
   `----

  x getNode-plugin(getNode): type: VariableDeclarator
   ,-[files/index.ts:3:8]
 2 | 
 3 | let foo = 1 + 2;
   :        ^
 4 | 
   `----

  x getNode-plugin(getNode): type: VariableDeclarator
   ,-[files/index.ts:3:9]
 2 | 
 3 | let foo = 1 + 2;
   :         ^
 4 | 
   `----

  x getNode-plugin(getNode): type: VariableDeclarator
   ,-[files/index.ts:3:10]
 2 | 
 3 | let foo = 1 + 2;
   :          ^
 4 | 
   `----

  x getNode-plugin(getNode): type: Literal
   ,-[files/index.ts:3:11]
 2 | 
 3 | let foo = 1 + 2;
   :           ^
 4 | 
   `----

  x getNode-plugin(getNode): type: BinaryExpression
   ,-[files/index.ts:3:12]
 2 | 
 3 | let foo = 1 + 2;
   :            ^
 4 | 
   `----

  x getNode-plugin(getNode): type: BinaryExpression
   ,-[files/index.ts:3:13]
 2 | 
 3 | let foo = 1 + 2;
   :             ^
 4 | 
   `----

  x getNode-plugin(getNode): type: BinaryExpression
   ,-[files/index.ts:3:14]
 2 | 
 3 | let foo = 1 + 2;
   :              ^
 4 | 
   `----

  x getNode-plugin(getNode): type: Literal
   ,-[files/index.ts:3:15]
 2 | 
 3 | let foo = 1 + 2;
   :               ^
 4 | 
   `----

  x getNode-plugin(getNode): type: VariableDeclaration
   ,-[files/index.ts:3:16]
 2 | 
 3 | let foo = 1 + 2;
   :                ^
 4 | 
   `----

  x getNode-plugin(getNode): type: Program
   ,-[files/index.ts:3:17]
 2 | 
 3 | let foo = 1 + 2;
   :                 ^
 4 | 
   `----

  x getNode-plugin(getNode): type: Program
   ,-[files/index.ts:4:1]
 3 | let foo = 1 + 2;
 4 | 
   : ^
 5 | `___${123}___`;
   `----

  x getNode-plugin(getNode): type: TemplateElement
   ,-[files/index.ts:5:1]
 4 | 
 5 | `___${123}___`;
   : ^
 6 | 
   `----

  x getNode-plugin(getNode): type: TemplateElement
   ,-[files/index.ts:5:6]
 4 | 
 5 | `___${123}___`;
   :      ^
 6 | 
   `----

  x getNode-plugin(getNode): type: Literal
   ,-[files/index.ts:5:7]
 4 | 
 5 | `___${123}___`;
   :       ^
 6 | 
   `----

  x getNode-plugin(getNode): type: Literal
   ,-[files/index.ts:5:9]
 4 | 
 5 | `___${123}___`;
   :         ^
 6 | 
   `----

  x getNode-plugin(getNode): type: TemplateElement
   ,-[files/index.ts:5:10]
 4 | 
 5 | `___${123}___`;
   :          ^
 6 | 
   `----

  x getNode-plugin(getNode): type: TemplateElement
   ,-[files/index.ts:5:14]
 4 | 
 5 | `___${123}___`;
   :              ^
 6 | 
   `----

  x getNode-plugin(getNode): type: ExpressionStatement
   ,-[files/index.ts:5:15]
 4 | 
 5 | `___${123}___`;
   :               ^
 6 | 
   `----

  x getNode-plugin(getNode): type: Program
   ,-[files/index.ts:5:16]
 4 | 
 5 | `___${123}___`;
   :                ^
 6 | 
   `----

  x getNode-plugin(getNode): type: Program
   ,-[files/index.ts:6:1]
 5 | `___${123}___`;
 6 | 
   : ^
 7 | type T = `___${123}___`;
   `----

  x getNode-plugin(getNode): type: TSTypeAliasDeclaration
   ,-[files/index.ts:7:1]
 6 | 
 7 | type T = `___${123}___`;
   : ^
 8 | 
   `----

  x getNode-plugin(getNode): type: TSTypeAliasDeclaration
   ,-[files/index.ts:7:4]
 6 | 
 7 | type T = `___${123}___`;
   :    ^
 8 | 
   `----

  x getNode-plugin(getNode): type: TSTypeAliasDeclaration
   ,-[files/index.ts:7:5]
 6 | 
 7 | type T = `___${123}___`;
   :     ^
 8 | 
   `----

  x getNode-plugin(getNode): type: Identifier
   ,-[files/index.ts:7:6]
 6 | 
 7 | type T = `___${123}___`;
   :      ^
 8 | 
   `----

  x getNode-plugin(getNode): type: TSTypeAliasDeclaration
   ,-[files/index.ts:7:7]
 6 | 
 7 | type T = `___${123}___`;
   :       ^
 8 | 
   `----

  x getNode-plugin(getNode): type: TSTypeAliasDeclaration
   ,-[files/index.ts:7:8]
 6 | 
 7 | type T = `___${123}___`;
   :        ^
 8 | 
   `----

  x getNode-plugin(getNode): type: TSTypeAliasDeclaration
   ,-[files/index.ts:7:9]
 6 | 
 7 | type T = `___${123}___`;
   :         ^
 8 | 
   `----

  x getNode-plugin(getNode): type: TemplateElement
   ,-[files/index.ts:7:10]
 6 | 
 7 | type T = `___${123}___`;
   :          ^
 8 | 
   `----

  x getNode-plugin(getNode): type: TemplateElement
   ,-[files/index.ts:7:15]
 6 | 
 7 | type T = `___${123}___`;
   :               ^
 8 | 
   `----

  x getNode-plugin(getNode): type: Literal
   ,-[files/index.ts:7:16]
 6 | 
 7 | type T = `___${123}___`;
   :                ^
 8 | 
   `----

  x getNode-plugin(getNode): type: Literal
   ,-[files/index.ts:7:18]
 6 | 
 7 | type T = `___${123}___`;
   :                  ^
 8 | 
   `----

  x getNode-plugin(getNode): type: TemplateElement
   ,-[files/index.ts:7:19]
 6 | 
 7 | type T = `___${123}___`;
   :                   ^
 8 | 
   `----

  x getNode-plugin(getNode): type: TemplateElement
   ,-[files/index.ts:7:23]
 6 | 
 7 | type T = `___${123}___`;
   :                       ^
 8 | 
   `----

  x getNode-plugin(getNode): type: TSTypeAliasDeclaration
   ,-[files/index.ts:7:24]
 6 | 
 7 | type T = `___${123}___`;
   :                        ^
 8 | 
   `----

  x getNode-plugin(getNode): type: Program
   ,-[files/index.ts:7:25]
 6 | 
 7 | type T = `___${123}___`;
   :                         ^
 8 | 
   `----

  x getNode-plugin(getNode): type: Program
   ,-[files/index.ts:9:11]
 8 | 
 9 | // Comment
   :           ^
   `----

  x getNode-plugin(getNode): type: null
   ,-[files/index.ts:10:1]
 9 | // Comment
   `----

  x getNode-plugin(getNode): type: null
   ,-[files/index.ts:10:1]
 9 | // Comment
   `----

Found 0 warnings and 45 errors.
Finished in Xms on 1 file with 1 rules using X threads.

stderr