@stzhu/eslint-config 0.10.0 → 0.12.0
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/chunk-CKQMccvm.cjs +28 -0
- package/dist/expo.cjs +11 -87
- package/dist/expo.cjs.map +1 -1
- package/dist/expo.d.cts +7 -6
- package/dist/expo.d.mts +11 -0
- package/dist/expo.mjs +10 -0
- package/dist/expo.mjs.map +1 -0
- package/dist/import-BBQRX7B-.cjs +51 -0
- package/dist/import-BBQRX7B-.cjs.map +1 -0
- package/dist/import-uAP5U-JL.mjs +31 -0
- package/dist/import-uAP5U-JL.mjs.map +1 -0
- package/dist/import.cjs +14 -49
- package/dist/import.cjs.map +1 -1
- package/dist/import.d.cts +7 -6
- package/dist/import.d.mts +11 -0
- package/dist/import.mjs +14 -0
- package/dist/import.mjs.map +1 -0
- package/dist/lingui.cjs +8 -41
- package/dist/lingui.cjs.map +1 -1
- package/dist/lingui.d.cts +7 -6
- package/dist/lingui.d.mts +11 -0
- package/dist/lingui.mjs +8 -0
- package/dist/lingui.mjs.map +1 -0
- package/dist/node.cjs +9 -181
- package/dist/node.cjs.map +1 -1
- package/dist/node.d.cts +7 -6
- package/dist/node.d.mts +11 -0
- package/dist/node.mjs +9 -0
- package/dist/node.mjs.map +1 -0
- package/dist/react.cjs +29 -211
- package/dist/react.cjs.map +1 -1
- package/dist/react.d.cts +8 -6
- package/dist/react.d.mts +12 -0
- package/dist/react.mjs +25 -0
- package/dist/react.mjs.map +1 -0
- package/dist/storybook.cjs +7 -35
- package/dist/storybook.cjs.map +1 -1
- package/dist/storybook.d.cts +7 -6
- package/dist/storybook.d.mts +11 -0
- package/dist/storybook.mjs +8 -0
- package/dist/storybook.mjs.map +1 -0
- package/dist/tailwind.cjs +21 -44
- package/dist/tailwind.cjs.map +1 -1
- package/dist/tailwind.d.cts +9 -6
- package/dist/tailwind.d.mts +13 -0
- package/dist/tailwind.mjs +21 -0
- package/dist/tailwind.mjs.map +1 -0
- package/dist/ts-CnHSXyQX.mjs +51 -0
- package/dist/ts-CnHSXyQX.mjs.map +1 -0
- package/dist/ts-NkLzPaje.cjs +61 -0
- package/dist/ts-NkLzPaje.cjs.map +1 -0
- package/dist/ts.cjs +2 -168
- package/dist/ts.d.cts +8 -7
- package/dist/ts.d.mts +12 -0
- package/dist/ts.mjs +2 -0
- package/dist/turbo.cjs +8 -31
- package/dist/turbo.cjs.map +1 -1
- package/dist/turbo.d.cts +7 -6
- package/dist/turbo.d.mts +11 -0
- package/dist/turbo.mjs +8 -0
- package/dist/turbo.mjs.map +1 -0
- package/dist/vitest.cjs +21 -64
- package/dist/vitest.cjs.map +1 -1
- package/dist/vitest.d.cts +7 -6
- package/dist/vitest.d.mts +11 -0
- package/dist/vitest.mjs +21 -0
- package/dist/vitest.mjs.map +1 -0
- package/package.json +50 -50
- package/dist/chunk-L2IAUSSZ.js +0 -105
- package/dist/chunk-L2IAUSSZ.js.map +0 -1
- package/dist/chunk-YDNACXP7.js +0 -43
- package/dist/chunk-YDNACXP7.js.map +0 -1
- package/dist/expo.d.ts +0 -9
- package/dist/expo.js +0 -24
- package/dist/expo.js.map +0 -1
- package/dist/import.d.ts +0 -9
- package/dist/import.js +0 -20
- package/dist/import.js.map +0 -1
- package/dist/lingui.d.ts +0 -9
- package/dist/lingui.js +0 -12
- package/dist/lingui.js.map +0 -1
- package/dist/node.d.ts +0 -9
- package/dist/node.js +0 -21
- package/dist/node.js.map +0 -1
- package/dist/react.d.ts +0 -9
- package/dist/react.js +0 -51
- package/dist/react.js.map +0 -1
- package/dist/storybook.d.ts +0 -9
- package/dist/storybook.js +0 -16
- package/dist/storybook.js.map +0 -1
- package/dist/tailwind.d.ts +0 -9
- package/dist/tailwind.js +0 -15
- package/dist/tailwind.js.map +0 -1
- package/dist/ts.cjs.map +0 -1
- package/dist/ts.d.ts +0 -10
- package/dist/ts.js +0 -8
- package/dist/ts.js.map +0 -1
- package/dist/turbo.d.ts +0 -9
- package/dist/turbo.js +0 -12
- package/dist/turbo.js.map +0 -1
- package/dist/vitest.d.ts +0 -9
- package/dist/vitest.js +0 -35
- package/dist/vitest.js.map +0 -1
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
//#region \0rolldown/runtime.js
|
|
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 __copyProps = (to, from, except, desc) => {
|
|
9
|
+
if (from && typeof from === "object" || typeof from === "function") for (var keys = __getOwnPropNames(from), i = 0, n = keys.length, key; i < n; i++) {
|
|
10
|
+
key = keys[i];
|
|
11
|
+
if (!__hasOwnProp.call(to, key) && key !== except) __defProp(to, key, {
|
|
12
|
+
get: ((k) => from[k]).bind(null, key),
|
|
13
|
+
enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable
|
|
14
|
+
});
|
|
15
|
+
}
|
|
16
|
+
return to;
|
|
17
|
+
};
|
|
18
|
+
var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", {
|
|
19
|
+
value: mod,
|
|
20
|
+
enumerable: true
|
|
21
|
+
}) : target, mod));
|
|
22
|
+
//#endregion
|
|
23
|
+
Object.defineProperty(exports, "__toESM", {
|
|
24
|
+
enumerable: true,
|
|
25
|
+
get: function() {
|
|
26
|
+
return __toESM;
|
|
27
|
+
}
|
|
28
|
+
});
|
package/dist/expo.cjs
CHANGED
|
@@ -1,89 +1,13 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
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);
|
|
1
|
+
const require_chunk = require("./chunk-CKQMccvm.cjs");
|
|
2
|
+
const require_import = require("./import-BBQRX7B-.cjs");
|
|
3
|
+
let eslint_config = require("eslint/config");
|
|
4
|
+
let eslint_config_expo_flat_js = require("eslint-config-expo/flat.js");
|
|
5
|
+
eslint_config_expo_flat_js = require_chunk.__toESM(eslint_config_expo_flat_js);
|
|
6
|
+
let eslint_config_prettier = require("eslint-config-prettier");
|
|
7
|
+
eslint_config_prettier = require_chunk.__toESM(eslint_config_prettier);
|
|
8
|
+
//#region src/expo.ts
|
|
9
|
+
var expo_default = { configs: { recommended: (0, eslint_config.defineConfig)(eslint_config_expo_flat_js.default, require_import.importCustom, require_import.simpleImportSortCustom, eslint_config_prettier.default) } };
|
|
10
|
+
//#endregion
|
|
11
|
+
module.exports = expo_default;
|
|
29
12
|
|
|
30
|
-
// src/expo.ts
|
|
31
|
-
var expo_exports = {};
|
|
32
|
-
__export(expo_exports, {
|
|
33
|
-
default: () => expo_default
|
|
34
|
-
});
|
|
35
|
-
module.exports = __toCommonJS(expo_exports);
|
|
36
|
-
var import_config2 = require("eslint/config");
|
|
37
|
-
var import_flat = __toESM(require("eslint-config-expo/flat.js"), 1);
|
|
38
|
-
var import_eslint_config_prettier = __toESM(require("eslint-config-prettier"), 1);
|
|
39
|
-
|
|
40
|
-
// src/shared/import.ts
|
|
41
|
-
var import_config = require("eslint/config");
|
|
42
|
-
var import_eslint_plugin_import = __toESM(require("eslint-plugin-import"), 1);
|
|
43
|
-
var import_eslint_plugin_simple_import_sort = __toESM(require("eslint-plugin-simple-import-sort"), 1);
|
|
44
|
-
var importCustom = (0, import_config.defineConfig)({
|
|
45
|
-
name: "import/custom",
|
|
46
|
-
rules: {
|
|
47
|
-
"import/enforce-node-protocol-usage": ["error", "always"],
|
|
48
|
-
"import/first": "error",
|
|
49
|
-
"import/newline-after-import": "error"
|
|
50
|
-
}
|
|
51
|
-
});
|
|
52
|
-
var simpleImportSortCustom = (0, import_config.defineConfig)({
|
|
53
|
-
name: "simple-import-sort/custom",
|
|
54
|
-
plugins: {
|
|
55
|
-
"simple-import-sort": import_eslint_plugin_simple_import_sort.default
|
|
56
|
-
},
|
|
57
|
-
rules: {
|
|
58
|
-
"simple-import-sort/imports": "error",
|
|
59
|
-
"simple-import-sort/exports": "error"
|
|
60
|
-
}
|
|
61
|
-
});
|
|
62
|
-
var import_default = (0, import_config.defineConfig)(
|
|
63
|
-
import_eslint_plugin_import.default.flatConfigs.recommended,
|
|
64
|
-
{
|
|
65
|
-
name: "import/settings",
|
|
66
|
-
settings: {
|
|
67
|
-
"import/resolver": {
|
|
68
|
-
typescript: true,
|
|
69
|
-
node: true
|
|
70
|
-
}
|
|
71
|
-
}
|
|
72
|
-
},
|
|
73
|
-
importCustom,
|
|
74
|
-
simpleImportSortCustom
|
|
75
|
-
);
|
|
76
|
-
|
|
77
|
-
// src/expo.ts
|
|
78
|
-
var expo_default = {
|
|
79
|
-
configs: {
|
|
80
|
-
recommended: (0, import_config2.defineConfig)(
|
|
81
|
-
import_flat.default,
|
|
82
|
-
// import these separately because expo already includes the recommended import config
|
|
83
|
-
importCustom,
|
|
84
|
-
simpleImportSortCustom,
|
|
85
|
-
import_eslint_config_prettier.default
|
|
86
|
-
)
|
|
87
|
-
}
|
|
88
|
-
};
|
|
89
13
|
//# sourceMappingURL=expo.cjs.map
|
package/dist/expo.cjs.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"
|
|
1
|
+
{"version":3,"file":"expo.cjs","names":["expo","importCustom","simpleImportSortCustom","prettier"],"sources":["../src/expo.ts"],"sourcesContent":["import { defineConfig } from 'eslint/config';\nimport expo from 'eslint-config-expo/flat.js';\nimport prettier from 'eslint-config-prettier';\n\nimport { importCustom, simpleImportSortCustom } from './shared/import.js';\n\nexport default {\n configs: {\n recommended: defineConfig(\n expo,\n // import these separately because expo already includes the recommended import config\n importCustom,\n simpleImportSortCustom,\n prettier,\n ),\n },\n};\n"],"mappings":";;;;;;;;AAMA,IAAA,eAAe,EACb,SAAS,EACP,cAAA,GAAA,cAAA,cACEA,2BAAAA,SAEAC,eAAAA,cACAC,eAAAA,wBACAC,uBAAAA,QACD,EACF,EACF"}
|
package/dist/expo.d.cts
CHANGED
|
@@ -1,9 +1,10 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as _$eslint_config0 from "eslint/config";
|
|
2
2
|
|
|
3
|
+
//#region src/expo.d.ts
|
|
3
4
|
declare const _default: {
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
5
|
+
configs: {
|
|
6
|
+
recommended: _$eslint_config0.Config[];
|
|
7
|
+
};
|
|
7
8
|
};
|
|
8
|
-
|
|
9
|
-
|
|
9
|
+
export = _default;
|
|
10
|
+
//# sourceMappingURL=expo.d.cts.map
|
package/dist/expo.d.mts
ADDED
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import * as _$eslint_config0 from "eslint/config";
|
|
2
|
+
|
|
3
|
+
//#region src/expo.d.ts
|
|
4
|
+
declare const _default: {
|
|
5
|
+
configs: {
|
|
6
|
+
recommended: _$eslint_config0.Config[];
|
|
7
|
+
};
|
|
8
|
+
};
|
|
9
|
+
//#endregion
|
|
10
|
+
export { _default as default };
|
|
11
|
+
//# sourceMappingURL=expo.d.mts.map
|
package/dist/expo.mjs
ADDED
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { r as simpleImportSortCustom, t as importCustom } from "./import-uAP5U-JL.mjs";
|
|
2
|
+
import { defineConfig } from "eslint/config";
|
|
3
|
+
import expo from "eslint-config-expo/flat.js";
|
|
4
|
+
import prettier from "eslint-config-prettier";
|
|
5
|
+
//#region src/expo.ts
|
|
6
|
+
var expo_default = { configs: { recommended: defineConfig(expo, importCustom, simpleImportSortCustom, prettier) } };
|
|
7
|
+
//#endregion
|
|
8
|
+
export { expo_default as default };
|
|
9
|
+
|
|
10
|
+
//# sourceMappingURL=expo.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"expo.mjs","names":[],"sources":["../src/expo.ts"],"sourcesContent":["import { defineConfig } from 'eslint/config';\nimport expo from 'eslint-config-expo/flat.js';\nimport prettier from 'eslint-config-prettier';\n\nimport { importCustom, simpleImportSortCustom } from './shared/import.js';\n\nexport default {\n configs: {\n recommended: defineConfig(\n expo,\n // import these separately because expo already includes the recommended import config\n importCustom,\n simpleImportSortCustom,\n prettier,\n ),\n },\n};\n"],"mappings":";;;;;AAMA,IAAA,eAAe,EACb,SAAS,EACP,aAAa,aACX,MAEA,cACA,wBACA,SACD,EACF,EACF"}
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
const require_chunk = require("./chunk-CKQMccvm.cjs");
|
|
2
|
+
let eslint_config = require("eslint/config");
|
|
3
|
+
let eslint_plugin_import = require("eslint-plugin-import");
|
|
4
|
+
eslint_plugin_import = require_chunk.__toESM(eslint_plugin_import);
|
|
5
|
+
let eslint_plugin_simple_import_sort = require("eslint-plugin-simple-import-sort");
|
|
6
|
+
eslint_plugin_simple_import_sort = require_chunk.__toESM(eslint_plugin_simple_import_sort);
|
|
7
|
+
//#region src/shared/import.ts
|
|
8
|
+
const importCustom = (0, eslint_config.defineConfig)({
|
|
9
|
+
name: "import/custom",
|
|
10
|
+
rules: {
|
|
11
|
+
"import/enforce-node-protocol-usage": ["error", "always"],
|
|
12
|
+
"import/first": "error",
|
|
13
|
+
"import/newline-after-import": "error"
|
|
14
|
+
}
|
|
15
|
+
});
|
|
16
|
+
const simpleImportSortCustom = (0, eslint_config.defineConfig)({
|
|
17
|
+
name: "simple-import-sort/custom",
|
|
18
|
+
plugins: { "simple-import-sort": eslint_plugin_simple_import_sort.default },
|
|
19
|
+
rules: {
|
|
20
|
+
"simple-import-sort/imports": "error",
|
|
21
|
+
"simple-import-sort/exports": "error"
|
|
22
|
+
}
|
|
23
|
+
});
|
|
24
|
+
var import_default = (0, eslint_config.defineConfig)(eslint_plugin_import.default.flatConfigs.recommended, {
|
|
25
|
+
name: "import/settings",
|
|
26
|
+
settings: { "import/resolver": {
|
|
27
|
+
typescript: true,
|
|
28
|
+
node: true
|
|
29
|
+
} }
|
|
30
|
+
}, importCustom, simpleImportSortCustom);
|
|
31
|
+
//#endregion
|
|
32
|
+
Object.defineProperty(exports, "importCustom", {
|
|
33
|
+
enumerable: true,
|
|
34
|
+
get: function() {
|
|
35
|
+
return importCustom;
|
|
36
|
+
}
|
|
37
|
+
});
|
|
38
|
+
Object.defineProperty(exports, "import_default", {
|
|
39
|
+
enumerable: true,
|
|
40
|
+
get: function() {
|
|
41
|
+
return import_default;
|
|
42
|
+
}
|
|
43
|
+
});
|
|
44
|
+
Object.defineProperty(exports, "simpleImportSortCustom", {
|
|
45
|
+
enumerable: true,
|
|
46
|
+
get: function() {
|
|
47
|
+
return simpleImportSortCustom;
|
|
48
|
+
}
|
|
49
|
+
});
|
|
50
|
+
|
|
51
|
+
//# sourceMappingURL=import-BBQRX7B-.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"import-BBQRX7B-.cjs","names":["simpleImportSort","importPlugin"],"sources":["../src/shared/import.ts"],"sourcesContent":["import { defineConfig } from 'eslint/config';\nimport importPlugin from 'eslint-plugin-import';\nimport simpleImportSort from 'eslint-plugin-simple-import-sort';\n\nexport const importCustom = defineConfig({\n name: 'import/custom',\n rules: {\n 'import/enforce-node-protocol-usage': ['error', 'always'],\n 'import/first': 'error',\n 'import/newline-after-import': 'error',\n },\n});\n\nexport const simpleImportSortCustom = defineConfig({\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\nexport default defineConfig(\n importPlugin.flatConfigs.recommended,\n {\n name: 'import/settings',\n settings: {\n 'import/resolver': {\n typescript: true,\n node: true,\n },\n },\n },\n importCustom,\n simpleImportSortCustom,\n);\n"],"mappings":";;;;;;;AAIA,MAAa,gBAAA,GAAA,cAAA,cAA4B;CACvC,MAAM;CACN,OAAO;EACL,sCAAsC,CAAC,SAAS,SAAS;EACzD,gBAAgB;EAChB,+BAA+B;EAChC;CACF,CAAC;AAEF,MAAa,0BAAA,GAAA,cAAA,cAAsC;CACjD,MAAM;CACN,SAAS,EACP,sBAAsBA,iCAAAA,SACvB;CACD,OAAO;EACL,8BAA8B;EAC9B,8BAA8B;EAC/B;CACF,CAAC;AAEF,IAAA,kBAAA,GAAA,cAAA,cACEC,qBAAAA,QAAa,YAAY,aACzB;CACE,MAAM;CACN,UAAU,EACR,mBAAmB;EACjB,YAAY;EACZ,MAAM;EACP,EACF;CACF,EACD,cACA,uBACD"}
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
import { defineConfig } from "eslint/config";
|
|
2
|
+
import importPlugin from "eslint-plugin-import";
|
|
3
|
+
import simpleImportSort from "eslint-plugin-simple-import-sort";
|
|
4
|
+
//#region src/shared/import.ts
|
|
5
|
+
const importCustom = defineConfig({
|
|
6
|
+
name: "import/custom",
|
|
7
|
+
rules: {
|
|
8
|
+
"import/enforce-node-protocol-usage": ["error", "always"],
|
|
9
|
+
"import/first": "error",
|
|
10
|
+
"import/newline-after-import": "error"
|
|
11
|
+
}
|
|
12
|
+
});
|
|
13
|
+
const simpleImportSortCustom = defineConfig({
|
|
14
|
+
name: "simple-import-sort/custom",
|
|
15
|
+
plugins: { "simple-import-sort": simpleImportSort },
|
|
16
|
+
rules: {
|
|
17
|
+
"simple-import-sort/imports": "error",
|
|
18
|
+
"simple-import-sort/exports": "error"
|
|
19
|
+
}
|
|
20
|
+
});
|
|
21
|
+
var import_default = defineConfig(importPlugin.flatConfigs.recommended, {
|
|
22
|
+
name: "import/settings",
|
|
23
|
+
settings: { "import/resolver": {
|
|
24
|
+
typescript: true,
|
|
25
|
+
node: true
|
|
26
|
+
} }
|
|
27
|
+
}, importCustom, simpleImportSortCustom);
|
|
28
|
+
//#endregion
|
|
29
|
+
export { import_default as n, simpleImportSortCustom as r, importCustom as t };
|
|
30
|
+
|
|
31
|
+
//# sourceMappingURL=import-uAP5U-JL.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"import-uAP5U-JL.mjs","names":[],"sources":["../src/shared/import.ts"],"sourcesContent":["import { defineConfig } from 'eslint/config';\nimport importPlugin from 'eslint-plugin-import';\nimport simpleImportSort from 'eslint-plugin-simple-import-sort';\n\nexport const importCustom = defineConfig({\n name: 'import/custom',\n rules: {\n 'import/enforce-node-protocol-usage': ['error', 'always'],\n 'import/first': 'error',\n 'import/newline-after-import': 'error',\n },\n});\n\nexport const simpleImportSortCustom = defineConfig({\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\nexport default defineConfig(\n importPlugin.flatConfigs.recommended,\n {\n name: 'import/settings',\n settings: {\n 'import/resolver': {\n typescript: true,\n node: true,\n },\n },\n },\n importCustom,\n simpleImportSortCustom,\n);\n"],"mappings":";;;;AAIA,MAAa,eAAe,aAAa;CACvC,MAAM;CACN,OAAO;EACL,sCAAsC,CAAC,SAAS,SAAS;EACzD,gBAAgB;EAChB,+BAA+B;EAChC;CACF,CAAC;AAEF,MAAa,yBAAyB,aAAa;CACjD,MAAM;CACN,SAAS,EACP,sBAAsB,kBACvB;CACD,OAAO;EACL,8BAA8B;EAC9B,8BAA8B;EAC/B;CACF,CAAC;AAEF,IAAA,iBAAe,aACb,aAAa,YAAY,aACzB;CACE,MAAM;CACN,UAAU,EACR,mBAAmB;EACjB,YAAY;EACZ,MAAM;EACP,EACF;CACF,EACD,cACA,uBACD"}
|
package/dist/import.cjs
CHANGED
|
@@ -1,51 +1,16 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
var
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
}
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
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);
|
|
1
|
+
const require_chunk = require("./chunk-CKQMccvm.cjs");
|
|
2
|
+
let eslint_config = require("eslint/config");
|
|
3
|
+
let eslint_plugin_n = require("eslint-plugin-n");
|
|
4
|
+
eslint_plugin_n = require_chunk.__toESM(eslint_plugin_n);
|
|
5
|
+
//#region src/import.ts
|
|
6
|
+
var import_default = { configs: { fileExtensionInImport: (0, eslint_config.defineConfig)({
|
|
7
|
+
plugins: { n: eslint_plugin_n.default },
|
|
8
|
+
rules: {
|
|
9
|
+
"n/no-missing-import": "error",
|
|
10
|
+
"n/file-extension-in-import": ["error", "always"]
|
|
11
|
+
}
|
|
12
|
+
}) } };
|
|
13
|
+
//#endregion
|
|
14
|
+
module.exports = import_default;
|
|
29
15
|
|
|
30
|
-
// src/import.ts
|
|
31
|
-
var import_exports = {};
|
|
32
|
-
__export(import_exports, {
|
|
33
|
-
default: () => import_default
|
|
34
|
-
});
|
|
35
|
-
module.exports = __toCommonJS(import_exports);
|
|
36
|
-
var import_config = require("eslint/config");
|
|
37
|
-
var import_eslint_plugin_n = __toESM(require("eslint-plugin-n"), 1);
|
|
38
|
-
var import_default = {
|
|
39
|
-
configs: {
|
|
40
|
-
"file-extension-in-import": (0, import_config.defineConfig)({
|
|
41
|
-
plugins: {
|
|
42
|
-
n: import_eslint_plugin_n.default
|
|
43
|
-
},
|
|
44
|
-
rules: {
|
|
45
|
-
"n/no-missing-import": "error",
|
|
46
|
-
"n/file-extension-in-import": ["error", "always"]
|
|
47
|
-
}
|
|
48
|
-
})
|
|
49
|
-
}
|
|
50
|
-
};
|
|
51
16
|
//# sourceMappingURL=import.cjs.map
|
package/dist/import.cjs.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../src/import.ts"],"sourcesContent":["import { defineConfig } from 'eslint/config';\nimport nodePlugin from 'eslint-plugin-n';\n\nexport default {\n configs: {\n
|
|
1
|
+
{"version":3,"file":"import.cjs","names":["nodePlugin"],"sources":["../src/import.ts"],"sourcesContent":["import { defineConfig } from 'eslint/config';\nimport nodePlugin from 'eslint-plugin-n';\n\nexport default {\n configs: {\n fileExtensionInImport: defineConfig({\n plugins: {\n n: nodePlugin,\n },\n rules: {\n 'n/no-missing-import': 'error',\n 'n/file-extension-in-import': ['error', 'always'],\n },\n }),\n },\n};\n"],"mappings":";;;;;AAGA,IAAA,iBAAe,EACb,SAAS,EACP,wBAAA,GAAA,cAAA,cAAoC;CAClC,SAAS,EACP,GAAGA,gBAAAA,SACJ;CACD,OAAO;EACL,uBAAuB;EACvB,8BAA8B,CAAC,SAAS,SAAS;EAClD;CACF,CAAC,EACH,EACF"}
|
package/dist/import.d.cts
CHANGED
|
@@ -1,9 +1,10 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as _$eslint_config0 from "eslint/config";
|
|
2
2
|
|
|
3
|
+
//#region src/import.d.ts
|
|
3
4
|
declare const _default: {
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
5
|
+
configs: {
|
|
6
|
+
fileExtensionInImport: _$eslint_config0.Config[];
|
|
7
|
+
};
|
|
7
8
|
};
|
|
8
|
-
|
|
9
|
-
|
|
9
|
+
export = _default;
|
|
10
|
+
//# sourceMappingURL=import.d.cts.map
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import * as _$eslint_config0 from "eslint/config";
|
|
2
|
+
|
|
3
|
+
//#region src/import.d.ts
|
|
4
|
+
declare const _default: {
|
|
5
|
+
configs: {
|
|
6
|
+
fileExtensionInImport: _$eslint_config0.Config[];
|
|
7
|
+
};
|
|
8
|
+
};
|
|
9
|
+
//#endregion
|
|
10
|
+
export { _default as default };
|
|
11
|
+
//# sourceMappingURL=import.d.mts.map
|
package/dist/import.mjs
ADDED
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { defineConfig } from "eslint/config";
|
|
2
|
+
import nodePlugin from "eslint-plugin-n";
|
|
3
|
+
//#region src/import.ts
|
|
4
|
+
var import_default = { configs: { fileExtensionInImport: defineConfig({
|
|
5
|
+
plugins: { n: nodePlugin },
|
|
6
|
+
rules: {
|
|
7
|
+
"n/no-missing-import": "error",
|
|
8
|
+
"n/file-extension-in-import": ["error", "always"]
|
|
9
|
+
}
|
|
10
|
+
}) } };
|
|
11
|
+
//#endregion
|
|
12
|
+
export { import_default as default };
|
|
13
|
+
|
|
14
|
+
//# sourceMappingURL=import.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"import.mjs","names":[],"sources":["../src/import.ts"],"sourcesContent":["import { defineConfig } from 'eslint/config';\nimport nodePlugin from 'eslint-plugin-n';\n\nexport default {\n configs: {\n fileExtensionInImport: defineConfig({\n plugins: {\n n: nodePlugin,\n },\n rules: {\n 'n/no-missing-import': 'error',\n 'n/file-extension-in-import': ['error', 'always'],\n },\n }),\n },\n};\n"],"mappings":";;;AAGA,IAAA,iBAAe,EACb,SAAS,EACP,uBAAuB,aAAa;CAClC,SAAS,EACP,GAAG,YACJ;CACD,OAAO;EACL,uBAAuB;EACvB,8BAA8B,CAAC,SAAS,SAAS;EAClD;CACF,CAAC,EACH,EACF"}
|
package/dist/lingui.cjs
CHANGED
|
@@ -1,43 +1,10 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
var
|
|
7
|
-
|
|
8
|
-
|
|
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);
|
|
1
|
+
const require_chunk = require("./chunk-CKQMccvm.cjs");
|
|
2
|
+
let eslint_config = require("eslint/config");
|
|
3
|
+
let eslint_plugin_lingui = require("eslint-plugin-lingui");
|
|
4
|
+
eslint_plugin_lingui = require_chunk.__toESM(eslint_plugin_lingui);
|
|
5
|
+
//#region src/lingui.ts
|
|
6
|
+
var lingui_default = { configs: { recommended: (0, eslint_config.defineConfig)(eslint_plugin_lingui.default.configs["flat/recommended"]) } };
|
|
7
|
+
//#endregion
|
|
8
|
+
module.exports = lingui_default;
|
|
29
9
|
|
|
30
|
-
// src/lingui.ts
|
|
31
|
-
var lingui_exports = {};
|
|
32
|
-
__export(lingui_exports, {
|
|
33
|
-
default: () => lingui_default
|
|
34
|
-
});
|
|
35
|
-
module.exports = __toCommonJS(lingui_exports);
|
|
36
|
-
var import_config = require("eslint/config");
|
|
37
|
-
var import_eslint_plugin_lingui = __toESM(require("eslint-plugin-lingui"), 1);
|
|
38
|
-
var lingui_default = {
|
|
39
|
-
configs: {
|
|
40
|
-
recommended: (0, import_config.defineConfig)(import_eslint_plugin_lingui.default.configs["flat/recommended"])
|
|
41
|
-
}
|
|
42
|
-
};
|
|
43
10
|
//# sourceMappingURL=lingui.cjs.map
|
package/dist/lingui.cjs.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../src/lingui.ts"],"sourcesContent":["import { defineConfig } from 'eslint/config';\nimport pluginLingui from 'eslint-plugin-lingui';\n\nexport default {\n configs: {\n recommended: defineConfig(pluginLingui.configs['flat/recommended']),\n },\n};\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"lingui.cjs","names":["pluginLingui"],"sources":["../src/lingui.ts"],"sourcesContent":["import { defineConfig } from 'eslint/config';\nimport pluginLingui from 'eslint-plugin-lingui';\n\nexport default {\n configs: {\n recommended: defineConfig(pluginLingui.configs['flat/recommended']),\n },\n};\n"],"mappings":";;;;;AAGA,IAAA,iBAAe,EACb,SAAS,EACP,cAAA,GAAA,cAAA,cAA0BA,qBAAAA,QAAa,QAAQ,oBAAoB,EACpE,EACF"}
|
package/dist/lingui.d.cts
CHANGED
|
@@ -1,9 +1,10 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as _$eslint_config0 from "eslint/config";
|
|
2
2
|
|
|
3
|
+
//#region src/lingui.d.ts
|
|
3
4
|
declare const _default: {
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
5
|
+
configs: {
|
|
6
|
+
recommended: _$eslint_config0.Config[];
|
|
7
|
+
};
|
|
7
8
|
};
|
|
8
|
-
|
|
9
|
-
|
|
9
|
+
export = _default;
|
|
10
|
+
//# sourceMappingURL=lingui.d.cts.map
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import * as _$eslint_config0 from "eslint/config";
|
|
2
|
+
|
|
3
|
+
//#region src/lingui.d.ts
|
|
4
|
+
declare const _default: {
|
|
5
|
+
configs: {
|
|
6
|
+
recommended: _$eslint_config0.Config[];
|
|
7
|
+
};
|
|
8
|
+
};
|
|
9
|
+
//#endregion
|
|
10
|
+
export { _default as default };
|
|
11
|
+
//# sourceMappingURL=lingui.d.mts.map
|
package/dist/lingui.mjs
ADDED
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { defineConfig } from "eslint/config";
|
|
2
|
+
import pluginLingui from "eslint-plugin-lingui";
|
|
3
|
+
//#region src/lingui.ts
|
|
4
|
+
var lingui_default = { configs: { recommended: defineConfig(pluginLingui.configs["flat/recommended"]) } };
|
|
5
|
+
//#endregion
|
|
6
|
+
export { lingui_default as default };
|
|
7
|
+
|
|
8
|
+
//# sourceMappingURL=lingui.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"lingui.mjs","names":[],"sources":["../src/lingui.ts"],"sourcesContent":["import { defineConfig } from 'eslint/config';\nimport pluginLingui from 'eslint-plugin-lingui';\n\nexport default {\n configs: {\n recommended: defineConfig(pluginLingui.configs['flat/recommended']),\n },\n};\n"],"mappings":";;;AAGA,IAAA,iBAAe,EACb,SAAS,EACP,aAAa,aAAa,aAAa,QAAQ,oBAAoB,EACpE,EACF"}
|