0
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2025-03-05 10:26:44 -05:00
deno/tests/specs/lint/lint_plugin_source_code/log.out
Marvin Hagemeister e1871e5291
feat(unstable): add js lint plugin source code helpers (#28065)
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.
2025-02-13 13:19:55 +01:00

13 lines
177 B
Text

Source:
const value = "unfixed";
console.log(value);
Source VariableDeclarator:
value = "unfixed"
Ancestors:
[ "Program", "VariableDeclaration" ]
Ast:
Program
Checked 1 file