@@ -159,7 +159,7 @@ The location object.
159
159
### Example
160
160
161
161
``` js{12}
162
- const { getFunctionHeadLocation } = require("eslint-utils")
162
+ const { getFunctionHeadLocation } = require("@eslint-community/ eslint-utils")
163
163
164
164
module.exports = {
165
165
meta: {},
@@ -286,7 +286,7 @@ The name and kind of the function.
286
286
### Example
287
287
288
288
``` js{11}
289
- const { getFunctionNameWithKind } = require("eslint-utils")
289
+ const { getFunctionNameWithKind } = require("@eslint-community/ eslint-utils")
290
290
291
291
module.exports = {
292
292
meta: {},
@@ -334,7 +334,7 @@ If the property name is not constant then it returns `null`.
334
334
### Example
335
335
336
336
``` js{8}
337
- const { getPropertyName } = require("eslint-utils")
337
+ const { getPropertyName } = require("@eslint-community/ eslint-utils")
338
338
339
339
module.exports = {
340
340
meta: {},
@@ -390,7 +390,7 @@ If it couldn't compute the static value of the node, it returns `null`.
390
390
### Example
391
391
392
392
``` js{8}
393
- const { getStaticValue } = require("eslint-utils")
393
+ const { getStaticValue } = require("@eslint-community/ eslint-utils")
394
394
395
395
module.exports = {
396
396
meta: {},
@@ -475,7 +475,7 @@ The side effect means that it _may_ modify a certain variable or object member.
475
475
### Example
476
476
477
477
``` js{9}
478
- const { hasSideEffect } = require("eslint-utils")
478
+ const { hasSideEffect } = require("@eslint-community/ eslint-utils")
479
479
480
480
module.exports = {
481
481
meta: {},
@@ -548,7 +548,7 @@ If `times` was given, it returns `true` only if the node is parenthesized the `t
548
548
### Example
549
549
550
550
``` js{9}
551
- const { isParenthesized } = require("eslint-utils")
551
+ const { isParenthesized } = require("@eslint-community/ eslint-utils")
552
552
553
553
module.exports = {
554
554
meta: {},
@@ -605,7 +605,7 @@ The generator which iterates [RegExpExecArray](https://developer.mozilla.org/en-
605
605
### Example
606
606
607
607
``` js{9}
608
- const { PatternMatcher } = require("eslint-utils")
608
+ const { PatternMatcher } = require("@eslint-community/ eslint-utils")
609
609
const matcher = new PatternMatcher(/\(\?<[_$\w]/g)
610
610
611
611
module.exports = {
@@ -650,7 +650,7 @@ Check whether this pattern matches a given string or not.
650
650
### Example
651
651
652
652
``` js{9}
653
- const { PatternMatcher } = require("eslint-utils")
653
+ const { PatternMatcher } = require("@eslint-community/ eslint-utils")
654
654
const matcher = new PatternMatcher(/\(\?<[_$\w]/g)
655
655
656
656
module.exports = {
@@ -692,7 +692,7 @@ The replaced result.
692
692
### Example
693
693
694
694
``` js{9}
695
- const { PatternMatcher } = require("eslint-utils")
695
+ const { PatternMatcher } = require("@eslint-community/ eslint-utils")
696
696
const matcher = new PatternMatcher(/\\p{Script=Greek}/g)
697
697
698
698
module.exports = {
0 commit comments