fix: use sourceCode.getScope() when available #901
Annotations
15 errors
Node.js 20 on ubuntu-latest
Process completed with exit code 1.
|
Node.js 16 on ubuntu-latest
Process completed with exit code 1.
|
Node.js 14 on ubuntu-latest
Process completed with exit code 1.
|
Node.js 18 on ubuntu-latest
Process completed with exit code 1.
|
eslint7
Process completed with exit code 1.
|
lint:
lib/rules/fixer-return.js#L83
Replace `·(context.sourceCode·||·context.getSourceCode())?.getScope(node)·||·context.getScope()` with `⏎········(context.sourceCode·||·context.getSourceCode())?.getScope(node)·||⏎········context.getScope();`
|
|
|
lint:
lib/rules/no-missing-placeholders.js#L79
Unexpected trailing comma
|
lint:
lib/rules/no-missing-placeholders.js#L93
Replace `⏎··············message,⏎··············scope,⏎············` with `message,·scope`
|
lint:
lib/rules/no-missing-placeholders.js#L95
Unexpected trailing comma
|
lint:
lib/rules/no-only-tests.js#L54
Insert `⏎·························`
|
lint:
lib/rules/no-unused-message-ids.js#L60
Insert `;`
|
lint:
lib/rules/no-unused-message-ids.js#L63
Delete `⏎···········`
|
lint:
lib/rules/prefer-message-ids.js#L46
Insert `;`
|