@stzhu/eslint-config 0.6.0 → 0.6.2
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/README.md +25 -4
- package/dist/{chunk-5AKEETFH.mjs → chunk-LD4GK7PC.js} +2 -2
- package/dist/{chunk-ECAGGCDW.mjs → chunk-VT2KKBLH.js} +1 -1
- package/dist/expo.cjs +74 -0
- package/dist/expo.cjs.map +1 -0
- package/dist/expo.js +10 -71
- package/dist/expo.js.map +1 -1
- package/dist/index.cjs +33 -0
- package/dist/{index.mjs.map → index.cjs.map} +1 -1
- package/dist/index.js +3 -29
- package/dist/index.js.map +1 -1
- package/dist/lingui.cjs +39 -0
- package/dist/lingui.cjs.map +1 -0
- package/dist/lingui.js +6 -37
- package/dist/lingui.js.map +1 -1
- package/dist/node.cjs +163 -0
- package/dist/node.cjs.map +1 -0
- package/dist/node.js +11 -157
- package/dist/node.js.map +1 -1
- package/dist/react.cjs +201 -0
- package/dist/react.cjs.map +1 -0
- package/dist/react.js +22 -168
- package/dist/react.js.map +1 -1
- package/dist/storybook.cjs +39 -0
- package/dist/storybook.cjs.map +1 -0
- package/dist/storybook.js +6 -37
- package/dist/storybook.js.map +1 -1
- package/dist/tailwind.cjs +48 -0
- package/dist/{tailwind.mjs.map → tailwind.cjs.map} +1 -1
- package/dist/tailwind.js +8 -39
- package/dist/tailwind.js.map +1 -1
- package/dist/ts.cjs +152 -0
- package/dist/ts.cjs.map +1 -0
- package/dist/ts.js +6 -150
- package/dist/ts.js.map +1 -1
- package/dist/turbo.cjs +29 -0
- package/dist/turbo.cjs.map +1 -0
- package/dist/turbo.js +6 -27
- package/dist/turbo.js.map +1 -1
- package/dist/vitest.cjs +62 -0
- package/dist/{vitest.mjs.map → vitest.cjs.map} +1 -1
- package/dist/vitest.js +6 -37
- package/dist/vitest.js.map +1 -1
- package/package.json +2 -5
- package/dist/expo.mjs +0 -13
- package/dist/expo.mjs.map +0 -1
- package/dist/index.mjs +0 -7
- package/dist/lingui.mjs +0 -8
- package/dist/lingui.mjs.map +0 -1
- package/dist/node.mjs +0 -17
- package/dist/node.mjs.map +0 -1
- package/dist/react.mjs +0 -55
- package/dist/react.mjs.map +0 -1
- package/dist/storybook.mjs +0 -8
- package/dist/storybook.mjs.map +0 -1
- package/dist/tailwind.mjs +0 -17
- package/dist/ts.mjs +0 -8
- package/dist/ts.mjs.map +0 -1
- package/dist/turbo.mjs +0 -8
- package/dist/turbo.mjs.map +0 -1
- package/dist/vitest.mjs +0 -31
- /package/dist/{chunk-5AKEETFH.mjs.map → chunk-LD4GK7PC.js.map} +0 -0
- /package/dist/{chunk-ECAGGCDW.mjs.map → chunk-VT2KKBLH.js.map} +0 -0
- /package/dist/{expo.d.mts → expo.d.cts} +0 -0
- /package/dist/{index.d.mts → index.d.cts} +0 -0
- /package/dist/{lingui.d.mts → lingui.d.cts} +0 -0
- /package/dist/{node.d.mts → node.d.cts} +0 -0
- /package/dist/{react.d.mts → react.d.cts} +0 -0
- /package/dist/{storybook.d.mts → storybook.d.cts} +0 -0
- /package/dist/{tailwind.d.mts → tailwind.d.cts} +0 -0
- /package/dist/{ts.d.mts → ts.d.cts} +0 -0
- /package/dist/{turbo.d.mts → turbo.d.cts} +0 -0
- /package/dist/{vitest.d.mts → vitest.d.cts} +0 -0
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __create = Object.create;
|
|
3
|
+
var __defProp = Object.defineProperty;
|
|
4
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
5
|
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
6
|
+
var __getProtoOf = Object.getPrototypeOf;
|
|
7
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
8
|
+
var __export = (target, all) => {
|
|
9
|
+
for (var name in all)
|
|
10
|
+
__defProp(target, name, { get: all[name], enumerable: true });
|
|
11
|
+
};
|
|
12
|
+
var __copyProps = (to, from, except, desc) => {
|
|
13
|
+
if (from && typeof from === "object" || typeof from === "function") {
|
|
14
|
+
for (let key of __getOwnPropNames(from))
|
|
15
|
+
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
16
|
+
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
17
|
+
}
|
|
18
|
+
return to;
|
|
19
|
+
};
|
|
20
|
+
var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(
|
|
21
|
+
// If the importer is in node compatibility mode or this is not an ESM
|
|
22
|
+
// file that has been converted to a CommonJS file using a Babel-
|
|
23
|
+
// compatible transform (i.e. "__esModule" has not been set), then set
|
|
24
|
+
// "default" to the CommonJS "module.exports" for node compatibility.
|
|
25
|
+
isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target,
|
|
26
|
+
mod
|
|
27
|
+
));
|
|
28
|
+
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
29
|
+
|
|
30
|
+
// src/storybook.ts
|
|
31
|
+
var storybook_exports = {};
|
|
32
|
+
__export(storybook_exports, {
|
|
33
|
+
default: () => storybook_default
|
|
34
|
+
});
|
|
35
|
+
module.exports = __toCommonJS(storybook_exports);
|
|
36
|
+
var import_config = require("eslint/config");
|
|
37
|
+
var import_eslint_plugin_storybook = __toESM(require("eslint-plugin-storybook"), 1);
|
|
38
|
+
var storybook_default = (0, import_config.defineConfig)(import_eslint_plugin_storybook.default.default.configs["flat/recommended"]);
|
|
39
|
+
//# sourceMappingURL=storybook.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../src/storybook.ts"],"sourcesContent":["import { defineConfig } from 'eslint/config';\nimport storybook from 'eslint-plugin-storybook';\n\nexport default defineConfig(storybook.default.configs['flat/recommended']);\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,oBAA6B;AAC7B,qCAAsB;AAEtB,IAAO,wBAAQ,4BAAa,+BAAAA,QAAU,QAAQ,QAAQ,kBAAkB,CAAC;","names":["storybook"]}
|
package/dist/storybook.js
CHANGED
|
@@ -1,39 +1,8 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __create = Object.create;
|
|
3
|
-
var __defProp = Object.defineProperty;
|
|
4
|
-
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
5
|
-
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
6
|
-
var __getProtoOf = Object.getPrototypeOf;
|
|
7
|
-
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
8
|
-
var __export = (target, all) => {
|
|
9
|
-
for (var name in all)
|
|
10
|
-
__defProp(target, name, { get: all[name], enumerable: true });
|
|
11
|
-
};
|
|
12
|
-
var __copyProps = (to, from, except, desc) => {
|
|
13
|
-
if (from && typeof from === "object" || typeof from === "function") {
|
|
14
|
-
for (let key of __getOwnPropNames(from))
|
|
15
|
-
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
16
|
-
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
17
|
-
}
|
|
18
|
-
return to;
|
|
19
|
-
};
|
|
20
|
-
var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(
|
|
21
|
-
// If the importer is in node compatibility mode or this is not an ESM
|
|
22
|
-
// file that has been converted to a CommonJS file using a Babel-
|
|
23
|
-
// compatible transform (i.e. "__esModule" has not been set), then set
|
|
24
|
-
// "default" to the CommonJS "module.exports" for node compatibility.
|
|
25
|
-
isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target,
|
|
26
|
-
mod
|
|
27
|
-
));
|
|
28
|
-
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
29
|
-
|
|
30
1
|
// src/storybook.ts
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
var import_eslint_plugin_storybook = __toESM(require("eslint-plugin-storybook"));
|
|
38
|
-
var storybook_default = (0, import_config.defineConfig)(import_eslint_plugin_storybook.default.configs["flat/recommended"]);
|
|
2
|
+
import { defineConfig } from "eslint/config";
|
|
3
|
+
import storybook from "eslint-plugin-storybook";
|
|
4
|
+
var storybook_default = defineConfig(storybook.default.configs["flat/recommended"]);
|
|
5
|
+
export {
|
|
6
|
+
storybook_default as default
|
|
7
|
+
};
|
|
39
8
|
//# sourceMappingURL=storybook.js.map
|
package/dist/storybook.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../src/storybook.ts"],"sourcesContent":["import { defineConfig } from 'eslint/config';\nimport storybook from 'eslint-plugin-storybook';\n\nexport default defineConfig(storybook.configs['flat/recommended']);\n"],"mappings":"
|
|
1
|
+
{"version":3,"sources":["../src/storybook.ts"],"sourcesContent":["import { defineConfig } from 'eslint/config';\nimport storybook from 'eslint-plugin-storybook';\n\nexport default defineConfig(storybook.default.configs['flat/recommended']);\n"],"mappings":";AAAA,SAAS,oBAAoB;AAC7B,OAAO,eAAe;AAEtB,IAAO,oBAAQ,aAAa,UAAU,QAAQ,QAAQ,kBAAkB,CAAC;","names":[]}
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __create = Object.create;
|
|
3
|
+
var __defProp = Object.defineProperty;
|
|
4
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
5
|
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
6
|
+
var __getProtoOf = Object.getPrototypeOf;
|
|
7
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
8
|
+
var __export = (target, all) => {
|
|
9
|
+
for (var name in all)
|
|
10
|
+
__defProp(target, name, { get: all[name], enumerable: true });
|
|
11
|
+
};
|
|
12
|
+
var __copyProps = (to, from, except, desc) => {
|
|
13
|
+
if (from && typeof from === "object" || typeof from === "function") {
|
|
14
|
+
for (let key of __getOwnPropNames(from))
|
|
15
|
+
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
16
|
+
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
17
|
+
}
|
|
18
|
+
return to;
|
|
19
|
+
};
|
|
20
|
+
var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(
|
|
21
|
+
// If the importer is in node compatibility mode or this is not an ESM
|
|
22
|
+
// file that has been converted to a CommonJS file using a Babel-
|
|
23
|
+
// compatible transform (i.e. "__esModule" has not been set), then set
|
|
24
|
+
// "default" to the CommonJS "module.exports" for node compatibility.
|
|
25
|
+
isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target,
|
|
26
|
+
mod
|
|
27
|
+
));
|
|
28
|
+
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
29
|
+
|
|
30
|
+
// src/tailwind.ts
|
|
31
|
+
var tailwind_exports = {};
|
|
32
|
+
__export(tailwind_exports, {
|
|
33
|
+
default: () => tailwind_default
|
|
34
|
+
});
|
|
35
|
+
module.exports = __toCommonJS(tailwind_exports);
|
|
36
|
+
var import_config = require("eslint/config");
|
|
37
|
+
var import_eslint_plugin_better_tailwindcss = __toESM(require("eslint-plugin-better-tailwindcss"), 1);
|
|
38
|
+
var tailwind_default = (0, import_config.defineConfig)({
|
|
39
|
+
files: ["**/*.tsx"],
|
|
40
|
+
plugins: {
|
|
41
|
+
"better-tailwindcss": import_eslint_plugin_better_tailwindcss.default
|
|
42
|
+
},
|
|
43
|
+
rules: {
|
|
44
|
+
...import_eslint_plugin_better_tailwindcss.default.configs["recommended-error"]?.rules,
|
|
45
|
+
"better-tailwindcss/no-deprecated-classes": "warn"
|
|
46
|
+
}
|
|
47
|
+
});
|
|
48
|
+
//# sourceMappingURL=tailwind.cjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../src/tailwind.ts"],"sourcesContent":["import { defineConfig } from 'eslint/config';\nimport eslintPluginBetterTailwindcss from 'eslint-plugin-better-tailwindcss';\n\nexport default defineConfig({\n files: ['**/*.tsx'],\n plugins: {\n 'better-tailwindcss': eslintPluginBetterTailwindcss,\n },\n rules: {\n ...eslintPluginBetterTailwindcss.configs['recommended-error']?.rules,\n 'better-tailwindcss/no-deprecated-classes': 'warn',\n },\n});\n"],"mappings":";AAAA,
|
|
1
|
+
{"version":3,"sources":["../src/tailwind.ts"],"sourcesContent":["import { defineConfig } from 'eslint/config';\nimport eslintPluginBetterTailwindcss from 'eslint-plugin-better-tailwindcss';\n\nexport default defineConfig({\n files: ['**/*.tsx'],\n plugins: {\n 'better-tailwindcss': eslintPluginBetterTailwindcss,\n },\n rules: {\n ...eslintPluginBetterTailwindcss.configs['recommended-error']?.rules,\n 'better-tailwindcss/no-deprecated-classes': 'warn',\n },\n});\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,oBAA6B;AAC7B,8CAA0C;AAE1C,IAAO,uBAAQ,4BAAa;AAAA,EAC1B,OAAO,CAAC,UAAU;AAAA,EAClB,SAAS;AAAA,IACP,sBAAsB,wCAAAA;AAAA,EACxB;AAAA,EACA,OAAO;AAAA,IACL,GAAG,wCAAAA,QAA8B,QAAQ,mBAAmB,GAAG;AAAA,IAC/D,4CAA4C;AAAA,EAC9C;AACF,CAAC;","names":["eslintPluginBetterTailwindcss"]}
|
package/dist/tailwind.js
CHANGED
|
@@ -1,48 +1,17 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __create = Object.create;
|
|
3
|
-
var __defProp = Object.defineProperty;
|
|
4
|
-
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
5
|
-
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
6
|
-
var __getProtoOf = Object.getPrototypeOf;
|
|
7
|
-
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
8
|
-
var __export = (target, all) => {
|
|
9
|
-
for (var name in all)
|
|
10
|
-
__defProp(target, name, { get: all[name], enumerable: true });
|
|
11
|
-
};
|
|
12
|
-
var __copyProps = (to, from, except, desc) => {
|
|
13
|
-
if (from && typeof from === "object" || typeof from === "function") {
|
|
14
|
-
for (let key of __getOwnPropNames(from))
|
|
15
|
-
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
16
|
-
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
17
|
-
}
|
|
18
|
-
return to;
|
|
19
|
-
};
|
|
20
|
-
var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(
|
|
21
|
-
// If the importer is in node compatibility mode or this is not an ESM
|
|
22
|
-
// file that has been converted to a CommonJS file using a Babel-
|
|
23
|
-
// compatible transform (i.e. "__esModule" has not been set), then set
|
|
24
|
-
// "default" to the CommonJS "module.exports" for node compatibility.
|
|
25
|
-
isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target,
|
|
26
|
-
mod
|
|
27
|
-
));
|
|
28
|
-
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
29
|
-
|
|
30
1
|
// src/tailwind.ts
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
});
|
|
35
|
-
module.exports = __toCommonJS(tailwind_exports);
|
|
36
|
-
var import_config = require("eslint/config");
|
|
37
|
-
var import_eslint_plugin_better_tailwindcss = __toESM(require("eslint-plugin-better-tailwindcss"));
|
|
38
|
-
var tailwind_default = (0, import_config.defineConfig)({
|
|
2
|
+
import { defineConfig } from "eslint/config";
|
|
3
|
+
import eslintPluginBetterTailwindcss from "eslint-plugin-better-tailwindcss";
|
|
4
|
+
var tailwind_default = defineConfig({
|
|
39
5
|
files: ["**/*.tsx"],
|
|
40
6
|
plugins: {
|
|
41
|
-
"better-tailwindcss":
|
|
7
|
+
"better-tailwindcss": eslintPluginBetterTailwindcss
|
|
42
8
|
},
|
|
43
9
|
rules: {
|
|
44
|
-
...
|
|
10
|
+
...eslintPluginBetterTailwindcss.configs["recommended-error"]?.rules,
|
|
45
11
|
"better-tailwindcss/no-deprecated-classes": "warn"
|
|
46
12
|
}
|
|
47
13
|
});
|
|
14
|
+
export {
|
|
15
|
+
tailwind_default as default
|
|
16
|
+
};
|
|
48
17
|
//# sourceMappingURL=tailwind.js.map
|
package/dist/tailwind.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../src/tailwind.ts"],"sourcesContent":["import { defineConfig } from 'eslint/config';\nimport eslintPluginBetterTailwindcss from 'eslint-plugin-better-tailwindcss';\n\nexport default defineConfig({\n files: ['**/*.tsx'],\n plugins: {\n 'better-tailwindcss': eslintPluginBetterTailwindcss,\n },\n rules: {\n ...eslintPluginBetterTailwindcss.configs['recommended-error']?.rules,\n 'better-tailwindcss/no-deprecated-classes': 'warn',\n },\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"sources":["../src/tailwind.ts"],"sourcesContent":["import { defineConfig } from 'eslint/config';\nimport eslintPluginBetterTailwindcss from 'eslint-plugin-better-tailwindcss';\n\nexport default defineConfig({\n files: ['**/*.tsx'],\n plugins: {\n 'better-tailwindcss': eslintPluginBetterTailwindcss,\n },\n rules: {\n ...eslintPluginBetterTailwindcss.configs['recommended-error']?.rules,\n 'better-tailwindcss/no-deprecated-classes': 'warn',\n },\n});\n"],"mappings":";AAAA,SAAS,oBAAoB;AAC7B,OAAO,mCAAmC;AAE1C,IAAO,mBAAQ,aAAa;AAAA,EAC1B,OAAO,CAAC,UAAU;AAAA,EAClB,SAAS;AAAA,IACP,sBAAsB;AAAA,EACxB;AAAA,EACA,OAAO;AAAA,IACL,GAAG,8BAA8B,QAAQ,mBAAmB,GAAG;AAAA,IAC/D,4CAA4C;AAAA,EAC9C;AACF,CAAC;","names":[]}
|
package/dist/ts.cjs
ADDED
|
@@ -0,0 +1,152 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __create = Object.create;
|
|
3
|
+
var __defProp = Object.defineProperty;
|
|
4
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
5
|
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
6
|
+
var __getProtoOf = Object.getPrototypeOf;
|
|
7
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
8
|
+
var __export = (target, all) => {
|
|
9
|
+
for (var name in all)
|
|
10
|
+
__defProp(target, name, { get: all[name], enumerable: true });
|
|
11
|
+
};
|
|
12
|
+
var __copyProps = (to, from, except, desc) => {
|
|
13
|
+
if (from && typeof from === "object" || typeof from === "function") {
|
|
14
|
+
for (let key of __getOwnPropNames(from))
|
|
15
|
+
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
16
|
+
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
17
|
+
}
|
|
18
|
+
return to;
|
|
19
|
+
};
|
|
20
|
+
var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(
|
|
21
|
+
// If the importer is in node compatibility mode or this is not an ESM
|
|
22
|
+
// file that has been converted to a CommonJS file using a Babel-
|
|
23
|
+
// compatible transform (i.e. "__esModule" has not been set), then set
|
|
24
|
+
// "default" to the CommonJS "module.exports" for node compatibility.
|
|
25
|
+
isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target,
|
|
26
|
+
mod
|
|
27
|
+
));
|
|
28
|
+
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
29
|
+
|
|
30
|
+
// src/ts.ts
|
|
31
|
+
var ts_exports = {};
|
|
32
|
+
__export(ts_exports, {
|
|
33
|
+
default: () => ts_default
|
|
34
|
+
});
|
|
35
|
+
module.exports = __toCommonJS(ts_exports);
|
|
36
|
+
var import_js = __toESM(require("@eslint/js"), 1);
|
|
37
|
+
var import_config3 = require("eslint/config");
|
|
38
|
+
var import_eslint_config_prettier = __toESM(require("eslint-config-prettier"), 1);
|
|
39
|
+
var import_eslint_plugin_import2 = __toESM(require("eslint-plugin-import"), 1);
|
|
40
|
+
var import_globals = __toESM(require("globals"), 1);
|
|
41
|
+
|
|
42
|
+
// src/configs/import.ts
|
|
43
|
+
var import_config = require("eslint/config");
|
|
44
|
+
var import_eslint_plugin_import = __toESM(require("eslint-plugin-import"), 1);
|
|
45
|
+
var import_eslint_plugin_simple_import_sort = __toESM(require("eslint-plugin-simple-import-sort"), 1);
|
|
46
|
+
var import_default = (0, import_config.defineConfig)(
|
|
47
|
+
import_eslint_plugin_import.default.flatConfigs.recommended,
|
|
48
|
+
{
|
|
49
|
+
name: "import/custom",
|
|
50
|
+
settings: {
|
|
51
|
+
"import/resolver": {
|
|
52
|
+
typescript: true,
|
|
53
|
+
node: true
|
|
54
|
+
}
|
|
55
|
+
},
|
|
56
|
+
rules: {
|
|
57
|
+
"import/enforce-node-protocol-usage": ["error", "always"],
|
|
58
|
+
"import/first": "error",
|
|
59
|
+
"import/newline-after-import": "error"
|
|
60
|
+
}
|
|
61
|
+
},
|
|
62
|
+
{
|
|
63
|
+
name: "simple-import-sort/custom",
|
|
64
|
+
plugins: {
|
|
65
|
+
"simple-import-sort": import_eslint_plugin_simple_import_sort.default
|
|
66
|
+
},
|
|
67
|
+
rules: {
|
|
68
|
+
"simple-import-sort/imports": "error",
|
|
69
|
+
"simple-import-sort/exports": "error"
|
|
70
|
+
}
|
|
71
|
+
}
|
|
72
|
+
);
|
|
73
|
+
|
|
74
|
+
// src/configs/typescript.ts
|
|
75
|
+
var import_config2 = require("eslint/config");
|
|
76
|
+
var import_typescript_eslint = require("typescript-eslint");
|
|
77
|
+
var typescript_default = (0, import_config2.defineConfig)(
|
|
78
|
+
import_typescript_eslint.configs.strictTypeChecked,
|
|
79
|
+
{
|
|
80
|
+
name: "typescript/languageOptions",
|
|
81
|
+
languageOptions: {
|
|
82
|
+
parserOptions: {
|
|
83
|
+
projectService: true
|
|
84
|
+
}
|
|
85
|
+
}
|
|
86
|
+
},
|
|
87
|
+
{
|
|
88
|
+
name: "typescript/custom",
|
|
89
|
+
rules: {
|
|
90
|
+
"@typescript-eslint/consistent-type-definitions": "off",
|
|
91
|
+
"@typescript-eslint/no-misused-promises": [
|
|
92
|
+
"error",
|
|
93
|
+
{
|
|
94
|
+
checksVoidReturn: {
|
|
95
|
+
attributes: false
|
|
96
|
+
}
|
|
97
|
+
}
|
|
98
|
+
],
|
|
99
|
+
"@typescript-eslint/no-unused-vars": [
|
|
100
|
+
"error",
|
|
101
|
+
{
|
|
102
|
+
args: "all",
|
|
103
|
+
argsIgnorePattern: "^_",
|
|
104
|
+
caughtErrors: "all",
|
|
105
|
+
caughtErrorsIgnorePattern: "^_",
|
|
106
|
+
destructuredArrayIgnorePattern: "^_",
|
|
107
|
+
varsIgnorePattern: "^_"
|
|
108
|
+
}
|
|
109
|
+
],
|
|
110
|
+
"@typescript-eslint/restrict-template-expressions": [
|
|
111
|
+
"error",
|
|
112
|
+
{
|
|
113
|
+
allowNumber: true
|
|
114
|
+
}
|
|
115
|
+
],
|
|
116
|
+
// https://tanstack.com/router/v1/docs/framework/react/api/router/redirectFunction
|
|
117
|
+
"@typescript-eslint/only-throw-error": [
|
|
118
|
+
"warn",
|
|
119
|
+
{
|
|
120
|
+
allow: [
|
|
121
|
+
{
|
|
122
|
+
from: "package",
|
|
123
|
+
name: "Redirect",
|
|
124
|
+
package: "@tanstack/router-core"
|
|
125
|
+
}
|
|
126
|
+
]
|
|
127
|
+
}
|
|
128
|
+
]
|
|
129
|
+
}
|
|
130
|
+
},
|
|
131
|
+
{
|
|
132
|
+
files: ["**/*.{cjs,js}"],
|
|
133
|
+
extends: [import_typescript_eslint.configs.disableTypeChecked]
|
|
134
|
+
}
|
|
135
|
+
);
|
|
136
|
+
|
|
137
|
+
// src/ts.ts
|
|
138
|
+
var ts_default = (0, import_config3.defineConfig)(
|
|
139
|
+
Object.assign({ name: "@eslint/js/recommended" }, import_js.default.configs.recommended),
|
|
140
|
+
import_default,
|
|
141
|
+
import_eslint_plugin_import2.default.flatConfigs.typescript,
|
|
142
|
+
{
|
|
143
|
+
name: "ts/config-file-globals",
|
|
144
|
+
files: ["*.config.{mjs,cjs,js,ts}"],
|
|
145
|
+
languageOptions: {
|
|
146
|
+
globals: import_globals.default.node
|
|
147
|
+
}
|
|
148
|
+
},
|
|
149
|
+
typescript_default,
|
|
150
|
+
import_eslint_config_prettier.default
|
|
151
|
+
);
|
|
152
|
+
//# sourceMappingURL=ts.cjs.map
|
package/dist/ts.cjs.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../src/ts.ts","../src/configs/import.ts","../src/configs/typescript.ts"],"sourcesContent":["import js from '@eslint/js';\nimport { defineConfig } from 'eslint/config';\nimport prettier from 'eslint-config-prettier';\nimport importPlugin from 'eslint-plugin-import';\nimport globals from 'globals';\n\nimport importConfig from './configs/import.js';\nimport typescriptConfig from './configs/typescript.js';\n\n// the difference between this and the `configs/typescript.js` file is that this is the entire\n// config for typescript projects, while that file is the eslint typescript config itself\n\nexport default defineConfig(\n Object.assign({ name: '@eslint/js/recommended' }, js.configs.recommended),\n importConfig,\n importPlugin.flatConfigs.typescript,\n {\n name: 'ts/config-file-globals',\n files: ['*.config.{mjs,cjs,js,ts}'],\n languageOptions: {\n globals: globals.node,\n },\n },\n typescriptConfig,\n prettier,\n);\n","import { defineConfig } from 'eslint/config';\nimport importPlugin from 'eslint-plugin-import';\nimport simpleImportSort from 'eslint-plugin-simple-import-sort';\n\nexport default defineConfig(\n importPlugin.flatConfigs.recommended,\n {\n name: 'import/custom',\n settings: {\n 'import/resolver': {\n typescript: true,\n node: true,\n },\n },\n rules: {\n 'import/enforce-node-protocol-usage': ['error', 'always'],\n 'import/first': 'error',\n 'import/newline-after-import': 'error',\n },\n },\n\n {\n name: 'simple-import-sort/custom',\n plugins: {\n 'simple-import-sort': simpleImportSort,\n },\n rules: {\n 'simple-import-sort/imports': 'error',\n 'simple-import-sort/exports': 'error',\n },\n },\n);\n","import { defineConfig } from 'eslint/config';\nimport { configs as tseslintConfigs } from 'typescript-eslint';\n\nexport default defineConfig(\n tseslintConfigs.strictTypeChecked,\n {\n name: 'typescript/languageOptions',\n languageOptions: {\n parserOptions: {\n projectService: true,\n },\n },\n },\n {\n name: 'typescript/custom',\n rules: {\n '@typescript-eslint/consistent-type-definitions': 'off',\n '@typescript-eslint/no-misused-promises': [\n 'error',\n {\n checksVoidReturn: {\n attributes: false,\n },\n },\n ],\n '@typescript-eslint/no-unused-vars': [\n 'error',\n {\n args: 'all',\n argsIgnorePattern: '^_',\n caughtErrors: 'all',\n caughtErrorsIgnorePattern: '^_',\n destructuredArrayIgnorePattern: '^_',\n varsIgnorePattern: '^_',\n },\n ],\n '@typescript-eslint/restrict-template-expressions': [\n 'error',\n {\n allowNumber: true,\n },\n ],\n // https://tanstack.com/router/v1/docs/framework/react/api/router/redirectFunction\n '@typescript-eslint/only-throw-error': [\n 'warn',\n {\n allow: [\n {\n from: 'package',\n name: 'Redirect',\n package: '@tanstack/router-core',\n },\n ],\n },\n ],\n },\n },\n {\n files: ['**/*.{cjs,js}'],\n extends: [tseslintConfigs.disableTypeChecked],\n },\n);\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,gBAAe;AACf,IAAAA,iBAA6B;AAC7B,oCAAqB;AACrB,IAAAC,+BAAyB;AACzB,qBAAoB;;;ACJpB,oBAA6B;AAC7B,kCAAyB;AACzB,8CAA6B;AAE7B,IAAO,qBAAQ;AAAA,EACb,4BAAAC,QAAa,YAAY;AAAA,EACzB;AAAA,IACE,MAAM;AAAA,IACN,UAAU;AAAA,MACR,mBAAmB;AAAA,QACjB,YAAY;AAAA,QACZ,MAAM;AAAA,MACR;AAAA,IACF;AAAA,IACA,OAAO;AAAA,MACL,sCAAsC,CAAC,SAAS,QAAQ;AAAA,MACxD,gBAAgB;AAAA,MAChB,+BAA+B;AAAA,IACjC;AAAA,EACF;AAAA,EAEA;AAAA,IACE,MAAM;AAAA,IACN,SAAS;AAAA,MACP,sBAAsB,wCAAAC;AAAA,IACxB;AAAA,IACA,OAAO;AAAA,MACL,8BAA8B;AAAA,MAC9B,8BAA8B;AAAA,IAChC;AAAA,EACF;AACF;;;AC/BA,IAAAC,iBAA6B;AAC7B,+BAA2C;AAE3C,IAAO,yBAAQ;AAAA,EACb,yBAAAC,QAAgB;AAAA,EAChB;AAAA,IACE,MAAM;AAAA,IACN,iBAAiB;AAAA,MACf,eAAe;AAAA,QACb,gBAAgB;AAAA,MAClB;AAAA,IACF;AAAA,EACF;AAAA,EACA;AAAA,IACE,MAAM;AAAA,IACN,OAAO;AAAA,MACL,kDAAkD;AAAA,MAClD,0CAA0C;AAAA,QACxC;AAAA,QACA;AAAA,UACE,kBAAkB;AAAA,YAChB,YAAY;AAAA,UACd;AAAA,QACF;AAAA,MACF;AAAA,MACA,qCAAqC;AAAA,QACnC;AAAA,QACA;AAAA,UACE,MAAM;AAAA,UACN,mBAAmB;AAAA,UACnB,cAAc;AAAA,UACd,2BAA2B;AAAA,UAC3B,gCAAgC;AAAA,UAChC,mBAAmB;AAAA,QACrB;AAAA,MACF;AAAA,MACA,oDAAoD;AAAA,QAClD;AAAA,QACA;AAAA,UACE,aAAa;AAAA,QACf;AAAA,MACF;AAAA;AAAA,MAEA,uCAAuC;AAAA,QACrC;AAAA,QACA;AAAA,UACE,OAAO;AAAA,YACL;AAAA,cACE,MAAM;AAAA,cACN,MAAM;AAAA,cACN,SAAS;AAAA,YACX;AAAA,UACF;AAAA,QACF;AAAA,MACF;AAAA,IACF;AAAA,EACF;AAAA,EACA;AAAA,IACE,OAAO,CAAC,eAAe;AAAA,IACvB,SAAS,CAAC,yBAAAA,QAAgB,kBAAkB;AAAA,EAC9C;AACF;;;AFjDA,IAAO,iBAAQ;AAAA,EACb,OAAO,OAAO,EAAE,MAAM,yBAAyB,GAAG,UAAAC,QAAG,QAAQ,WAAW;AAAA,EACxE;AAAA,EACA,6BAAAC,QAAa,YAAY;AAAA,EACzB;AAAA,IACE,MAAM;AAAA,IACN,OAAO,CAAC,0BAA0B;AAAA,IAClC,iBAAiB;AAAA,MACf,SAAS,eAAAC,QAAQ;AAAA,IACnB;AAAA,EACF;AAAA,EACA;AAAA,EACA,8BAAAC;AACF;","names":["import_config","import_eslint_plugin_import","importPlugin","simpleImportSort","import_config","tseslintConfigs","js","importPlugin","globals","prettier"]}
|
package/dist/ts.js
CHANGED
|
@@ -1,152 +1,8 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
8
|
-
var __export = (target, all) => {
|
|
9
|
-
for (var name in all)
|
|
10
|
-
__defProp(target, name, { get: all[name], enumerable: true });
|
|
1
|
+
import {
|
|
2
|
+
ts_default
|
|
3
|
+
} from "./chunk-LD4GK7PC.js";
|
|
4
|
+
import "./chunk-VT2KKBLH.js";
|
|
5
|
+
export {
|
|
6
|
+
ts_default as default
|
|
11
7
|
};
|
|
12
|
-
var __copyProps = (to, from, except, desc) => {
|
|
13
|
-
if (from && typeof from === "object" || typeof from === "function") {
|
|
14
|
-
for (let key of __getOwnPropNames(from))
|
|
15
|
-
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
16
|
-
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
17
|
-
}
|
|
18
|
-
return to;
|
|
19
|
-
};
|
|
20
|
-
var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(
|
|
21
|
-
// If the importer is in node compatibility mode or this is not an ESM
|
|
22
|
-
// file that has been converted to a CommonJS file using a Babel-
|
|
23
|
-
// compatible transform (i.e. "__esModule" has not been set), then set
|
|
24
|
-
// "default" to the CommonJS "module.exports" for node compatibility.
|
|
25
|
-
isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target,
|
|
26
|
-
mod
|
|
27
|
-
));
|
|
28
|
-
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
29
|
-
|
|
30
|
-
// src/ts.ts
|
|
31
|
-
var ts_exports = {};
|
|
32
|
-
__export(ts_exports, {
|
|
33
|
-
default: () => ts_default
|
|
34
|
-
});
|
|
35
|
-
module.exports = __toCommonJS(ts_exports);
|
|
36
|
-
var import_js = __toESM(require("@eslint/js"));
|
|
37
|
-
var import_config3 = require("eslint/config");
|
|
38
|
-
var import_eslint_config_prettier = __toESM(require("eslint-config-prettier"));
|
|
39
|
-
var import_eslint_plugin_import2 = __toESM(require("eslint-plugin-import"));
|
|
40
|
-
var import_globals = __toESM(require("globals"));
|
|
41
|
-
|
|
42
|
-
// src/configs/import.ts
|
|
43
|
-
var import_config = require("eslint/config");
|
|
44
|
-
var import_eslint_plugin_import = __toESM(require("eslint-plugin-import"));
|
|
45
|
-
var import_eslint_plugin_simple_import_sort = __toESM(require("eslint-plugin-simple-import-sort"));
|
|
46
|
-
var import_default = (0, import_config.defineConfig)(
|
|
47
|
-
import_eslint_plugin_import.default.flatConfigs.recommended,
|
|
48
|
-
{
|
|
49
|
-
name: "import/custom",
|
|
50
|
-
settings: {
|
|
51
|
-
"import/resolver": {
|
|
52
|
-
typescript: true,
|
|
53
|
-
node: true
|
|
54
|
-
}
|
|
55
|
-
},
|
|
56
|
-
rules: {
|
|
57
|
-
"import/enforce-node-protocol-usage": ["error", "always"],
|
|
58
|
-
"import/first": "error",
|
|
59
|
-
"import/newline-after-import": "error"
|
|
60
|
-
}
|
|
61
|
-
},
|
|
62
|
-
{
|
|
63
|
-
name: "simple-import-sort/custom",
|
|
64
|
-
plugins: {
|
|
65
|
-
"simple-import-sort": import_eslint_plugin_simple_import_sort.default
|
|
66
|
-
},
|
|
67
|
-
rules: {
|
|
68
|
-
"simple-import-sort/imports": "error",
|
|
69
|
-
"simple-import-sort/exports": "error"
|
|
70
|
-
}
|
|
71
|
-
}
|
|
72
|
-
);
|
|
73
|
-
|
|
74
|
-
// src/configs/typescript.ts
|
|
75
|
-
var import_config2 = require("eslint/config");
|
|
76
|
-
var import_typescript_eslint = require("typescript-eslint");
|
|
77
|
-
var typescript_default = (0, import_config2.defineConfig)(
|
|
78
|
-
import_typescript_eslint.configs.strictTypeChecked,
|
|
79
|
-
{
|
|
80
|
-
name: "typescript/languageOptions",
|
|
81
|
-
languageOptions: {
|
|
82
|
-
parserOptions: {
|
|
83
|
-
projectService: true
|
|
84
|
-
}
|
|
85
|
-
}
|
|
86
|
-
},
|
|
87
|
-
{
|
|
88
|
-
name: "typescript/custom",
|
|
89
|
-
rules: {
|
|
90
|
-
"@typescript-eslint/consistent-type-definitions": "off",
|
|
91
|
-
"@typescript-eslint/no-misused-promises": [
|
|
92
|
-
"error",
|
|
93
|
-
{
|
|
94
|
-
checksVoidReturn: {
|
|
95
|
-
attributes: false
|
|
96
|
-
}
|
|
97
|
-
}
|
|
98
|
-
],
|
|
99
|
-
"@typescript-eslint/no-unused-vars": [
|
|
100
|
-
"error",
|
|
101
|
-
{
|
|
102
|
-
args: "all",
|
|
103
|
-
argsIgnorePattern: "^_",
|
|
104
|
-
caughtErrors: "all",
|
|
105
|
-
caughtErrorsIgnorePattern: "^_",
|
|
106
|
-
destructuredArrayIgnorePattern: "^_",
|
|
107
|
-
varsIgnorePattern: "^_"
|
|
108
|
-
}
|
|
109
|
-
],
|
|
110
|
-
"@typescript-eslint/restrict-template-expressions": [
|
|
111
|
-
"error",
|
|
112
|
-
{
|
|
113
|
-
allowNumber: true
|
|
114
|
-
}
|
|
115
|
-
],
|
|
116
|
-
// https://tanstack.com/router/v1/docs/framework/react/api/router/redirectFunction
|
|
117
|
-
"@typescript-eslint/only-throw-error": [
|
|
118
|
-
"warn",
|
|
119
|
-
{
|
|
120
|
-
allow: [
|
|
121
|
-
{
|
|
122
|
-
from: "package",
|
|
123
|
-
name: "Redirect",
|
|
124
|
-
package: "@tanstack/router-core"
|
|
125
|
-
}
|
|
126
|
-
]
|
|
127
|
-
}
|
|
128
|
-
]
|
|
129
|
-
}
|
|
130
|
-
},
|
|
131
|
-
{
|
|
132
|
-
files: ["**/*.{cjs,js}"],
|
|
133
|
-
extends: [import_typescript_eslint.configs.disableTypeChecked]
|
|
134
|
-
}
|
|
135
|
-
);
|
|
136
|
-
|
|
137
|
-
// src/ts.ts
|
|
138
|
-
var ts_default = (0, import_config3.defineConfig)(
|
|
139
|
-
Object.assign({ name: "@eslint/js/recommended" }, import_js.default.configs.recommended),
|
|
140
|
-
import_default,
|
|
141
|
-
import_eslint_plugin_import2.default.flatConfigs.typescript,
|
|
142
|
-
{
|
|
143
|
-
name: "ts/config-file-globals",
|
|
144
|
-
files: ["*.config.{mjs,cjs,js,ts}"],
|
|
145
|
-
languageOptions: {
|
|
146
|
-
globals: import_globals.default.node
|
|
147
|
-
}
|
|
148
|
-
},
|
|
149
|
-
typescript_default,
|
|
150
|
-
import_eslint_config_prettier.default
|
|
151
|
-
);
|
|
152
8
|
//# sourceMappingURL=ts.js.map
|
package/dist/ts.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":[
|
|
1
|
+
{"version":3,"sources":[],"sourcesContent":[],"mappings":"","names":[]}
|
package/dist/turbo.cjs
ADDED
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __defProp = Object.defineProperty;
|
|
3
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
4
|
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
5
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
6
|
+
var __export = (target, all) => {
|
|
7
|
+
for (var name in all)
|
|
8
|
+
__defProp(target, name, { get: all[name], enumerable: true });
|
|
9
|
+
};
|
|
10
|
+
var __copyProps = (to, from, except, desc) => {
|
|
11
|
+
if (from && typeof from === "object" || typeof from === "function") {
|
|
12
|
+
for (let key of __getOwnPropNames(from))
|
|
13
|
+
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
14
|
+
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
15
|
+
}
|
|
16
|
+
return to;
|
|
17
|
+
};
|
|
18
|
+
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
19
|
+
|
|
20
|
+
// src/turbo.ts
|
|
21
|
+
var turbo_exports = {};
|
|
22
|
+
__export(turbo_exports, {
|
|
23
|
+
default: () => turbo_default
|
|
24
|
+
});
|
|
25
|
+
module.exports = __toCommonJS(turbo_exports);
|
|
26
|
+
var import_config = require("eslint/config");
|
|
27
|
+
var import_eslint_plugin_turbo = require("eslint-plugin-turbo");
|
|
28
|
+
var turbo_default = (0, import_config.defineConfig)(import_eslint_plugin_turbo.configs["flat/recommended"]);
|
|
29
|
+
//# sourceMappingURL=turbo.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../src/turbo.ts"],"sourcesContent":["import { defineConfig } from 'eslint/config';\nimport { configs as turboConfigs } from 'eslint-plugin-turbo';\n\nexport default defineConfig(turboConfigs['flat/recommended']);\n"],"mappings":";;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,oBAA6B;AAC7B,iCAAwC;AAExC,IAAO,oBAAQ,4BAAa,2BAAAA,QAAa,kBAAkB,CAAC;","names":["turboConfigs"]}
|
package/dist/turbo.js
CHANGED
|
@@ -1,29 +1,8 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __defProp = Object.defineProperty;
|
|
3
|
-
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
4
|
-
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
5
|
-
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
6
|
-
var __export = (target, all) => {
|
|
7
|
-
for (var name in all)
|
|
8
|
-
__defProp(target, name, { get: all[name], enumerable: true });
|
|
9
|
-
};
|
|
10
|
-
var __copyProps = (to, from, except, desc) => {
|
|
11
|
-
if (from && typeof from === "object" || typeof from === "function") {
|
|
12
|
-
for (let key of __getOwnPropNames(from))
|
|
13
|
-
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
14
|
-
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
15
|
-
}
|
|
16
|
-
return to;
|
|
17
|
-
};
|
|
18
|
-
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
19
|
-
|
|
20
1
|
// src/turbo.ts
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
var import_eslint_plugin_turbo = require("eslint-plugin-turbo");
|
|
28
|
-
var turbo_default = (0, import_config.defineConfig)(import_eslint_plugin_turbo.configs["flat/recommended"]);
|
|
2
|
+
import { defineConfig } from "eslint/config";
|
|
3
|
+
import { configs as turboConfigs } from "eslint-plugin-turbo";
|
|
4
|
+
var turbo_default = defineConfig(turboConfigs["flat/recommended"]);
|
|
5
|
+
export {
|
|
6
|
+
turbo_default as default
|
|
7
|
+
};
|
|
29
8
|
//# sourceMappingURL=turbo.js.map
|
package/dist/turbo.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../src/turbo.ts"],"sourcesContent":["import { defineConfig } from 'eslint/config';\nimport { configs as turboConfigs } from 'eslint-plugin-turbo';\n\nexport default defineConfig(turboConfigs['flat/recommended']);\n"],"mappings":"
|
|
1
|
+
{"version":3,"sources":["../src/turbo.ts"],"sourcesContent":["import { defineConfig } from 'eslint/config';\nimport { configs as turboConfigs } from 'eslint-plugin-turbo';\n\nexport default defineConfig(turboConfigs['flat/recommended']);\n"],"mappings":";AAAA,SAAS,oBAAoB;AAC7B,SAAS,WAAW,oBAAoB;AAExC,IAAO,gBAAQ,aAAa,aAAa,kBAAkB,CAAC;","names":[]}
|