mirror of
https://github.com/denoland/deno.git
synced 2025-03-11 14:47:26 -04:00

This PR aligns the `RuleContext` of JS plugins with ESLint. --------- Co-authored-by: Bartek Iwańczuk <biwanczuk@gmail.com>
13 lines
122 B
Text
13 lines
122 B
Text
ctx.id:
|
|
test-plugin/my-rule
|
|
|
|
ctx.filename:
|
|
main.ts
|
|
|
|
ctx.getFilename():
|
|
main.ts
|
|
|
|
ctx.getSourceCode():
|
|
true
|
|
|
|
Checked 1 file
|