mirror of
https://github.com/denoland/deno.git
synced 2025-03-05 10:26:44 -05:00

This PR adds a part of the `SourceCode` API in eslint (see https://eslint.org/docs/latest/extend/custom-rules#applying-fixes) . It's used to get the text of the current node, etc.
13 lines
177 B
Text
13 lines
177 B
Text
Source:
|
|
const value = "unfixed";
|
|
console.log(value);
|
|
|
|
Source VariableDeclarator:
|
|
value = "unfixed"
|
|
|
|
Ancestors:
|
|
[ "Program", "VariableDeclaration" ]
|
|
|
|
Ast:
|
|
Program
|
|
Checked 1 file
|