@next/eslint-plugin-next 15.0.0-canary.7 → 15.0.0-canary.71
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -8,13 +8,13 @@ Object.defineProperty(exports, "getRootDirs", {
|
|
|
8
8
|
return getRootDirs;
|
|
9
9
|
}
|
|
10
10
|
});
|
|
11
|
-
var
|
|
11
|
+
var _fastglob = require("fast-glob");
|
|
12
12
|
/**
|
|
13
13
|
* Process a Next.js root directory glob.
|
|
14
14
|
*/ var processRootDir = function(rootDir) {
|
|
15
15
|
// Ensures we only match folders.
|
|
16
16
|
if (!rootDir.endsWith('/')) rootDir += '/';
|
|
17
|
-
return (0,
|
|
17
|
+
return (0, _fastglob.globSync)(rootDir);
|
|
18
18
|
};
|
|
19
19
|
var getRootDirs = function(context) {
|
|
20
20
|
var rootDirs = [
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@next/eslint-plugin-next",
|
|
3
|
-
"version": "15.0.0-canary.
|
|
3
|
+
"version": "15.0.0-canary.71",
|
|
4
4
|
"description": "ESLint plugin for Next.js.",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"license": "MIT",
|
|
@@ -12,7 +12,7 @@
|
|
|
12
12
|
"dist"
|
|
13
13
|
],
|
|
14
14
|
"dependencies": {
|
|
15
|
-
"glob": "
|
|
15
|
+
"fast-glob": "3.3.1"
|
|
16
16
|
},
|
|
17
17
|
"devDependencies": {
|
|
18
18
|
"eslint": "8.56.0"
|