We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6cef769 commit 667e36fCopy full SHA for 667e36f
docs/rules/no-useless-token-range.md
@@ -9,6 +9,8 @@ This rule aims to avoid unnecessary calls to `sourceCode.getFirstToken` and `sou
9
Examples of **incorrect** code for this rule:
10
11
```js
12
+/* eslint eslint-plugin/no-useless-token-range: error */
13
+
14
module.exports = {
15
create(context) {
16
const sourceCode = context.getSourceCode();
@@ -22,6 +24,8 @@ module.exports = {
22
24
Examples of **correct** code for this rule:
23
25
26
27
28
29
30
31
0 commit comments