eslint-config-turbo 2.8.3 → 2.8.4
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.
- package/dist/cjs/flat.d.ts +3 -49
- package/dist/cjs/flat.js +2 -2
- package/dist/cjs/index.d.ts +1 -1
- package/dist/es/flat.d.mts +3 -49
- package/dist/es/flat.mjs +2 -2
- package/package.json +4 -3
package/dist/cjs/flat.d.ts
CHANGED
|
@@ -1,51 +1,5 @@
|
|
|
1
|
-
import
|
|
2
|
-
import * as eslint_plugin_turbo from 'eslint-plugin-turbo';
|
|
1
|
+
import { Linter } from 'eslint';
|
|
3
2
|
|
|
4
|
-
declare const
|
|
5
|
-
plugins: {
|
|
6
|
-
turbo: {
|
|
7
|
-
meta: {
|
|
8
|
-
name: string;
|
|
9
|
-
version: string;
|
|
10
|
-
};
|
|
11
|
-
rules: {
|
|
12
|
-
[x: string]: {
|
|
13
|
-
create: (context: eslint_plugin_turbo.RuleContextWithOptions) => eslint.Rule.RuleListener;
|
|
14
|
-
meta: eslint.Rule.RuleMetaData;
|
|
15
|
-
};
|
|
16
|
-
};
|
|
17
|
-
configs: {
|
|
18
|
-
recommended: {
|
|
19
|
-
settings: {
|
|
20
|
-
turbo: {
|
|
21
|
-
cacheKey: number | eslint_plugin_turbo.ProjectKey;
|
|
22
|
-
};
|
|
23
|
-
};
|
|
24
|
-
plugins: string[];
|
|
25
|
-
rules: {
|
|
26
|
-
[x: string]: "error";
|
|
27
|
-
};
|
|
28
|
-
};
|
|
29
|
-
"flat/recommended": {
|
|
30
|
-
plugins: {
|
|
31
|
-
readonly turbo: eslint.ESLint.Plugin;
|
|
32
|
-
};
|
|
33
|
-
name: string;
|
|
34
|
-
rules: {
|
|
35
|
-
[x: string]: "error";
|
|
36
|
-
};
|
|
37
|
-
settings: {
|
|
38
|
-
turbo: {
|
|
39
|
-
cacheKey: number | eslint_plugin_turbo.ProjectKey;
|
|
40
|
-
};
|
|
41
|
-
};
|
|
42
|
-
};
|
|
43
|
-
};
|
|
44
|
-
};
|
|
45
|
-
};
|
|
46
|
-
rules: {
|
|
47
|
-
"turbo/no-undeclared-env-vars": "error";
|
|
48
|
-
};
|
|
49
|
-
}[];
|
|
3
|
+
declare const config: Array<Linter.Config>;
|
|
50
4
|
|
|
51
|
-
export {
|
|
5
|
+
export { config as default };
|
package/dist/cjs/flat.js
CHANGED
|
@@ -7,7 +7,7 @@ function _interopDefault (e) { return e && e.__esModule ? e : { default: e }; }
|
|
|
7
7
|
var plugin__default = /*#__PURE__*/_interopDefault(plugin);
|
|
8
8
|
|
|
9
9
|
// eslint-disable-next-line import/no-default-export -- Matching old module.exports
|
|
10
|
-
|
|
10
|
+
const config = [
|
|
11
11
|
{
|
|
12
12
|
plugins: {
|
|
13
13
|
turbo: plugin__default.default
|
|
@@ -18,4 +18,4 @@ var index = [
|
|
|
18
18
|
}
|
|
19
19
|
];
|
|
20
20
|
|
|
21
|
-
exports.default =
|
|
21
|
+
exports.default = config;
|
package/dist/cjs/index.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
|
|
2
|
-
export {
|
|
2
|
+
export { };
|
package/dist/es/flat.d.mts
CHANGED
|
@@ -1,51 +1,5 @@
|
|
|
1
|
-
import
|
|
2
|
-
import * as eslint_plugin_turbo from 'eslint-plugin-turbo';
|
|
1
|
+
import { Linter } from 'eslint';
|
|
3
2
|
|
|
4
|
-
declare const
|
|
5
|
-
plugins: {
|
|
6
|
-
turbo: {
|
|
7
|
-
meta: {
|
|
8
|
-
name: string;
|
|
9
|
-
version: string;
|
|
10
|
-
};
|
|
11
|
-
rules: {
|
|
12
|
-
[x: string]: {
|
|
13
|
-
create: (context: eslint_plugin_turbo.RuleContextWithOptions) => eslint.Rule.RuleListener;
|
|
14
|
-
meta: eslint.Rule.RuleMetaData;
|
|
15
|
-
};
|
|
16
|
-
};
|
|
17
|
-
configs: {
|
|
18
|
-
recommended: {
|
|
19
|
-
settings: {
|
|
20
|
-
turbo: {
|
|
21
|
-
cacheKey: number | eslint_plugin_turbo.ProjectKey;
|
|
22
|
-
};
|
|
23
|
-
};
|
|
24
|
-
plugins: string[];
|
|
25
|
-
rules: {
|
|
26
|
-
[x: string]: "error";
|
|
27
|
-
};
|
|
28
|
-
};
|
|
29
|
-
"flat/recommended": {
|
|
30
|
-
plugins: {
|
|
31
|
-
readonly turbo: eslint.ESLint.Plugin;
|
|
32
|
-
};
|
|
33
|
-
name: string;
|
|
34
|
-
rules: {
|
|
35
|
-
[x: string]: "error";
|
|
36
|
-
};
|
|
37
|
-
settings: {
|
|
38
|
-
turbo: {
|
|
39
|
-
cacheKey: number | eslint_plugin_turbo.ProjectKey;
|
|
40
|
-
};
|
|
41
|
-
};
|
|
42
|
-
};
|
|
43
|
-
};
|
|
44
|
-
};
|
|
45
|
-
};
|
|
46
|
-
rules: {
|
|
47
|
-
"turbo/no-undeclared-env-vars": "error";
|
|
48
|
-
};
|
|
49
|
-
}[];
|
|
3
|
+
declare const config: Array<Linter.Config>;
|
|
50
4
|
|
|
51
|
-
export {
|
|
5
|
+
export { config as default };
|
package/dist/es/flat.mjs
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import plugin from 'eslint-plugin-turbo';
|
|
2
2
|
|
|
3
3
|
// eslint-disable-next-line import/no-default-export -- Matching old module.exports
|
|
4
|
-
|
|
4
|
+
const config = [
|
|
5
5
|
{
|
|
6
6
|
plugins: {
|
|
7
7
|
turbo: plugin
|
|
@@ -12,4 +12,4 @@ var index = [
|
|
|
12
12
|
}
|
|
13
13
|
];
|
|
14
14
|
|
|
15
|
-
export {
|
|
15
|
+
export { config as default };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "eslint-config-turbo",
|
|
3
|
-
"version": "2.8.
|
|
3
|
+
"version": "2.8.4",
|
|
4
4
|
"type": "commonjs",
|
|
5
5
|
"description": "ESLint config for Turborepo",
|
|
6
6
|
"license": "MIT",
|
|
@@ -48,7 +48,7 @@
|
|
|
48
48
|
}
|
|
49
49
|
},
|
|
50
50
|
"dependencies": {
|
|
51
|
-
"eslint-plugin-turbo": "2.8.
|
|
51
|
+
"eslint-plugin-turbo": "2.8.4"
|
|
52
52
|
},
|
|
53
53
|
"peerDependencies": {
|
|
54
54
|
"eslint": ">6.6.0",
|
|
@@ -56,9 +56,10 @@
|
|
|
56
56
|
},
|
|
57
57
|
"devDependencies": {
|
|
58
58
|
"@arethetypeswrong/cli": "0.18.2",
|
|
59
|
+
"@eslint/core": "^1.1.0",
|
|
59
60
|
"@types/node": "20.11.30",
|
|
60
61
|
"bunchee": "6.3.4",
|
|
61
|
-
"eslint": "
|
|
62
|
+
"eslint": "10.0.0",
|
|
62
63
|
"@turbo/tsconfig": "0.0.0"
|
|
63
64
|
},
|
|
64
65
|
"scripts": {
|