@stzhu/eslint-config 0.6.4 → 0.7.1

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.
Files changed (52) hide show
  1. package/README.md +5 -5
  2. package/dist/chunk-AKYUAI22.js +43 -0
  3. package/dist/chunk-AKYUAI22.js.map +1 -0
  4. package/dist/{chunk-LD4GK7PC.js → chunk-GNAVZXLX.js} +2 -2
  5. package/dist/expo.cjs +29 -18
  6. package/dist/expo.cjs.map +1 -1
  7. package/dist/expo.d.cts +3 -2
  8. package/dist/expo.d.ts +3 -2
  9. package/dist/expo.js +11 -4
  10. package/dist/expo.js.map +1 -1
  11. package/dist/lingui.d.cts +3 -2
  12. package/dist/lingui.d.ts +3 -2
  13. package/dist/node.cjs +21 -16
  14. package/dist/node.cjs.map +1 -1
  15. package/dist/node.d.cts +3 -2
  16. package/dist/node.d.ts +3 -2
  17. package/dist/node.js +2 -2
  18. package/dist/react.cjs +23 -18
  19. package/dist/react.cjs.map +1 -1
  20. package/dist/react.d.cts +3 -2
  21. package/dist/react.d.ts +3 -2
  22. package/dist/react.js +4 -4
  23. package/dist/react.js.map +1 -1
  24. package/dist/storybook.d.cts +3 -2
  25. package/dist/storybook.d.ts +3 -2
  26. package/dist/tailwind.d.cts +3 -2
  27. package/dist/tailwind.d.ts +3 -2
  28. package/dist/ts.cjs +21 -16
  29. package/dist/ts.cjs.map +1 -1
  30. package/dist/ts.d.cts +3 -2
  31. package/dist/ts.d.ts +3 -2
  32. package/dist/ts.js +2 -2
  33. package/dist/turbo.d.cts +3 -2
  34. package/dist/turbo.d.ts +3 -2
  35. package/dist/types.d-DV2WF_ti.d.cts +1142 -0
  36. package/dist/types.d-DV2WF_ti.d.ts +1142 -0
  37. package/dist/vitest.cjs +27 -23
  38. package/dist/vitest.cjs.map +1 -1
  39. package/dist/vitest.d.cts +3 -2
  40. package/dist/vitest.d.ts +3 -2
  41. package/dist/vitest.js +27 -23
  42. package/dist/vitest.js.map +1 -1
  43. package/package.json +25 -32
  44. package/dist/chunk-VT2KKBLH.js +0 -36
  45. package/dist/chunk-VT2KKBLH.js.map +0 -1
  46. package/dist/index.cjs +0 -33
  47. package/dist/index.cjs.map +0 -1
  48. package/dist/index.d.cts +0 -1
  49. package/dist/index.d.ts +0 -1
  50. package/dist/index.js +0 -7
  51. package/dist/index.js.map +0 -1
  52. /package/dist/{chunk-LD4GK7PC.js.map → chunk-GNAVZXLX.js.map} +0 -0
package/dist/vitest.cjs CHANGED
@@ -35,28 +35,32 @@ __export(vitest_exports, {
35
35
  module.exports = __toCommonJS(vitest_exports);
36
36
  var import_eslint_plugin = __toESM(require("@vitest/eslint-plugin"), 1);
37
37
  var import_config = require("eslint/config");
38
- var vitest_default = (0, import_config.defineConfig)(import_eslint_plugin.default.configs.recommended, {
39
- name: "custom/vitest",
40
- files: ["**/*.test.{ts,tsx}"],
41
- rules: {
42
- "vitest/consistent-test-it": [
43
- "error",
44
- {
45
- fn: "test",
46
- withinDescribe: "test"
47
- }
48
- ],
49
- "vitest/no-focused-tests": "error",
50
- "vitest/no-disabled-tests": "error",
51
- "vitest/prefer-lowercase-title": [
52
- "warn",
53
- {
54
- ignoreTopLevelDescribe: true
55
- }
56
- ],
57
- // Disable certain strict typescript eslint rules for tests
58
- // https://github.com/vitest-dev/vitest/issues/4543#issuecomment-1824881253
59
- "@typescript-eslint/no-unsafe-assignment": "off"
38
+ var vitest_default = (0, import_config.defineConfig)(
39
+ // XXX: temp fix for https://github.com/vitest-dev/eslint-plugin-vitest/issues/771
40
+ import_eslint_plugin.default.configs.recommended,
41
+ {
42
+ name: "custom/vitest",
43
+ files: ["**/*.test.{ts,tsx}"],
44
+ rules: {
45
+ "vitest/consistent-test-it": [
46
+ "error",
47
+ {
48
+ fn: "test",
49
+ withinDescribe: "test"
50
+ }
51
+ ],
52
+ "vitest/no-focused-tests": "error",
53
+ "vitest/no-disabled-tests": "error",
54
+ "vitest/prefer-lowercase-title": [
55
+ "warn",
56
+ {
57
+ ignoreTopLevelDescribe: true
58
+ }
59
+ ],
60
+ // Disable certain strict typescript eslint rules for tests
61
+ // https://github.com/vitest-dev/vitest/issues/4543#issuecomment-1824881253
62
+ "@typescript-eslint/no-unsafe-assignment": "off"
63
+ }
60
64
  }
61
- });
65
+ );
62
66
  //# sourceMappingURL=vitest.cjs.map
@@ -1 +1 @@
1
- {"version":3,"sources":["../src/vitest.ts"],"sourcesContent":["import vitest from '@vitest/eslint-plugin';\nimport { defineConfig } from 'eslint/config';\n\nexport default defineConfig(vitest.configs.recommended, {\n name: 'custom/vitest',\n files: ['**/*.test.{ts,tsx}'],\n rules: {\n 'vitest/consistent-test-it': [\n 'error',\n {\n fn: 'test',\n withinDescribe: 'test',\n },\n ],\n 'vitest/no-focused-tests': 'error',\n 'vitest/no-disabled-tests': 'error',\n 'vitest/prefer-lowercase-title': [\n 'warn',\n {\n ignoreTopLevelDescribe: true,\n },\n ],\n // Disable certain strict typescript eslint rules for tests\n // https://github.com/vitest-dev/vitest/issues/4543#issuecomment-1824881253\n '@typescript-eslint/no-unsafe-assignment': 'off',\n },\n});\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,2BAAmB;AACnB,oBAA6B;AAE7B,IAAO,qBAAQ,4BAAa,qBAAAA,QAAO,QAAQ,aAAa;AAAA,EACtD,MAAM;AAAA,EACN,OAAO,CAAC,oBAAoB;AAAA,EAC5B,OAAO;AAAA,IACL,6BAA6B;AAAA,MAC3B;AAAA,MACA;AAAA,QACE,IAAI;AAAA,QACJ,gBAAgB;AAAA,MAClB;AAAA,IACF;AAAA,IACA,2BAA2B;AAAA,IAC3B,4BAA4B;AAAA,IAC5B,iCAAiC;AAAA,MAC/B;AAAA,MACA;AAAA,QACE,wBAAwB;AAAA,MAC1B;AAAA,IACF;AAAA;AAAA;AAAA,IAGA,2CAA2C;AAAA,EAC7C;AACF,CAAC;","names":["vitest"]}
1
+ {"version":3,"sources":["../src/vitest.ts"],"sourcesContent":["import vitest from '@vitest/eslint-plugin';\nimport { Linter } from 'eslint';\nimport { defineConfig } from 'eslint/config';\n\nexport default defineConfig(\n // XXX: temp fix for https://github.com/vitest-dev/eslint-plugin-vitest/issues/771\n vitest.configs.recommended as unknown as Linter.Config[],\n {\n name: 'custom/vitest',\n files: ['**/*.test.{ts,tsx}'],\n rules: {\n 'vitest/consistent-test-it': [\n 'error',\n {\n fn: 'test',\n withinDescribe: 'test',\n },\n ],\n 'vitest/no-focused-tests': 'error',\n 'vitest/no-disabled-tests': 'error',\n 'vitest/prefer-lowercase-title': [\n 'warn',\n {\n ignoreTopLevelDescribe: true,\n },\n ],\n // Disable certain strict typescript eslint rules for tests\n // https://github.com/vitest-dev/vitest/issues/4543#issuecomment-1824881253\n '@typescript-eslint/no-unsafe-assignment': 'off',\n },\n },\n);\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,2BAAmB;AAEnB,oBAA6B;AAE7B,IAAO,qBAAQ;AAAA;AAAA,EAEb,qBAAAA,QAAO,QAAQ;AAAA,EACf;AAAA,IACE,MAAM;AAAA,IACN,OAAO,CAAC,oBAAoB;AAAA,IAC5B,OAAO;AAAA,MACL,6BAA6B;AAAA,QAC3B;AAAA,QACA;AAAA,UACE,IAAI;AAAA,UACJ,gBAAgB;AAAA,QAClB;AAAA,MACF;AAAA,MACA,2BAA2B;AAAA,MAC3B,4BAA4B;AAAA,MAC5B,iCAAiC;AAAA,QAC/B;AAAA,QACA;AAAA,UACE,wBAAwB;AAAA,QAC1B;AAAA,MACF;AAAA;AAAA;AAAA,MAGA,2CAA2C;AAAA,IAC7C;AAAA,EACF;AACF;","names":["vitest"]}
package/dist/vitest.d.cts CHANGED
@@ -1,5 +1,6 @@
1
- import * as eslint from 'eslint';
1
+ import { C as ConfigObject, R as RulesConfig } from './types.d-DV2WF_ti.cjs';
2
+ import 'json-schema';
2
3
 
3
- declare const _default: eslint.Linter.Config<eslint.Linter.RulesRecord>[];
4
+ declare const _default: ConfigObject<RulesConfig>[];
4
5
 
5
6
  export { _default as default };
package/dist/vitest.d.ts CHANGED
@@ -1,5 +1,6 @@
1
- import * as eslint from 'eslint';
1
+ import { C as ConfigObject, R as RulesConfig } from './types.d-DV2WF_ti.js';
2
+ import 'json-schema';
2
3
 
3
- declare const _default: eslint.Linter.Config<eslint.Linter.RulesRecord>[];
4
+ declare const _default: ConfigObject<RulesConfig>[];
4
5
 
5
6
  export { _default as default };
package/dist/vitest.js CHANGED
@@ -1,30 +1,34 @@
1
1
  // src/vitest.ts
2
2
  import vitest from "@vitest/eslint-plugin";
3
3
  import { defineConfig } from "eslint/config";
4
- var vitest_default = defineConfig(vitest.configs.recommended, {
5
- name: "custom/vitest",
6
- files: ["**/*.test.{ts,tsx}"],
7
- rules: {
8
- "vitest/consistent-test-it": [
9
- "error",
10
- {
11
- fn: "test",
12
- withinDescribe: "test"
13
- }
14
- ],
15
- "vitest/no-focused-tests": "error",
16
- "vitest/no-disabled-tests": "error",
17
- "vitest/prefer-lowercase-title": [
18
- "warn",
19
- {
20
- ignoreTopLevelDescribe: true
21
- }
22
- ],
23
- // Disable certain strict typescript eslint rules for tests
24
- // https://github.com/vitest-dev/vitest/issues/4543#issuecomment-1824881253
25
- "@typescript-eslint/no-unsafe-assignment": "off"
4
+ var vitest_default = defineConfig(
5
+ // XXX: temp fix for https://github.com/vitest-dev/eslint-plugin-vitest/issues/771
6
+ vitest.configs.recommended,
7
+ {
8
+ name: "custom/vitest",
9
+ files: ["**/*.test.{ts,tsx}"],
10
+ rules: {
11
+ "vitest/consistent-test-it": [
12
+ "error",
13
+ {
14
+ fn: "test",
15
+ withinDescribe: "test"
16
+ }
17
+ ],
18
+ "vitest/no-focused-tests": "error",
19
+ "vitest/no-disabled-tests": "error",
20
+ "vitest/prefer-lowercase-title": [
21
+ "warn",
22
+ {
23
+ ignoreTopLevelDescribe: true
24
+ }
25
+ ],
26
+ // Disable certain strict typescript eslint rules for tests
27
+ // https://github.com/vitest-dev/vitest/issues/4543#issuecomment-1824881253
28
+ "@typescript-eslint/no-unsafe-assignment": "off"
29
+ }
26
30
  }
27
- });
31
+ );
28
32
  export {
29
33
  vitest_default as default
30
34
  };
@@ -1 +1 @@
1
- {"version":3,"sources":["../src/vitest.ts"],"sourcesContent":["import vitest from '@vitest/eslint-plugin';\nimport { defineConfig } from 'eslint/config';\n\nexport default defineConfig(vitest.configs.recommended, {\n name: 'custom/vitest',\n files: ['**/*.test.{ts,tsx}'],\n rules: {\n 'vitest/consistent-test-it': [\n 'error',\n {\n fn: 'test',\n withinDescribe: 'test',\n },\n ],\n 'vitest/no-focused-tests': 'error',\n 'vitest/no-disabled-tests': 'error',\n 'vitest/prefer-lowercase-title': [\n 'warn',\n {\n ignoreTopLevelDescribe: true,\n },\n ],\n // Disable certain strict typescript eslint rules for tests\n // https://github.com/vitest-dev/vitest/issues/4543#issuecomment-1824881253\n '@typescript-eslint/no-unsafe-assignment': 'off',\n },\n});\n"],"mappings":";AAAA,OAAO,YAAY;AACnB,SAAS,oBAAoB;AAE7B,IAAO,iBAAQ,aAAa,OAAO,QAAQ,aAAa;AAAA,EACtD,MAAM;AAAA,EACN,OAAO,CAAC,oBAAoB;AAAA,EAC5B,OAAO;AAAA,IACL,6BAA6B;AAAA,MAC3B;AAAA,MACA;AAAA,QACE,IAAI;AAAA,QACJ,gBAAgB;AAAA,MAClB;AAAA,IACF;AAAA,IACA,2BAA2B;AAAA,IAC3B,4BAA4B;AAAA,IAC5B,iCAAiC;AAAA,MAC/B;AAAA,MACA;AAAA,QACE,wBAAwB;AAAA,MAC1B;AAAA,IACF;AAAA;AAAA;AAAA,IAGA,2CAA2C;AAAA,EAC7C;AACF,CAAC;","names":[]}
1
+ {"version":3,"sources":["../src/vitest.ts"],"sourcesContent":["import vitest from '@vitest/eslint-plugin';\nimport { Linter } from 'eslint';\nimport { defineConfig } from 'eslint/config';\n\nexport default defineConfig(\n // XXX: temp fix for https://github.com/vitest-dev/eslint-plugin-vitest/issues/771\n vitest.configs.recommended as unknown as Linter.Config[],\n {\n name: 'custom/vitest',\n files: ['**/*.test.{ts,tsx}'],\n rules: {\n 'vitest/consistent-test-it': [\n 'error',\n {\n fn: 'test',\n withinDescribe: 'test',\n },\n ],\n 'vitest/no-focused-tests': 'error',\n 'vitest/no-disabled-tests': 'error',\n 'vitest/prefer-lowercase-title': [\n 'warn',\n {\n ignoreTopLevelDescribe: true,\n },\n ],\n // Disable certain strict typescript eslint rules for tests\n // https://github.com/vitest-dev/vitest/issues/4543#issuecomment-1824881253\n '@typescript-eslint/no-unsafe-assignment': 'off',\n },\n },\n);\n"],"mappings":";AAAA,OAAO,YAAY;AAEnB,SAAS,oBAAoB;AAE7B,IAAO,iBAAQ;AAAA;AAAA,EAEb,OAAO,QAAQ;AAAA,EACf;AAAA,IACE,MAAM;AAAA,IACN,OAAO,CAAC,oBAAoB;AAAA,IAC5B,OAAO;AAAA,MACL,6BAA6B;AAAA,QAC3B;AAAA,QACA;AAAA,UACE,IAAI;AAAA,UACJ,gBAAgB;AAAA,QAClB;AAAA,MACF;AAAA,MACA,2BAA2B;AAAA,MAC3B,4BAA4B;AAAA,MAC5B,iCAAiC;AAAA,QAC/B;AAAA,QACA;AAAA,UACE,wBAAwB;AAAA,QAC1B;AAAA,MACF;AAAA;AAAA;AAAA,MAGA,2CAA2C;AAAA,IAC7C;AAAA,EACF;AACF;","names":[]}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@stzhu/eslint-config",
3
- "version": "0.6.4",
3
+ "version": "0.7.1",
4
4
  "description": "Shared config for ESLint",
5
5
  "keywords": [
6
6
  "eslint"
@@ -13,16 +13,6 @@
13
13
  "author": "Steve Zhu <4130171+stevezhu@users.noreply.github.com>",
14
14
  "type": "module",
15
15
  "exports": {
16
- ".": {
17
- "import": {
18
- "types": "./dist/index.d.ts",
19
- "default": "./dist/index.js"
20
- },
21
- "require": {
22
- "types": "./dist/index.d.cts",
23
- "default": "./dist/index.cjs"
24
- }
25
- },
26
16
  "./ts": {
27
17
  "import": {
28
18
  "types": "./dist/ts.d.ts",
@@ -118,35 +108,37 @@
118
108
  "dist/*"
119
109
  ],
120
110
  "dependencies": {
121
- "@eslint/js": "^9.28.0",
122
- "@typescript-eslint/eslint-plugin": "^8.34.0",
123
- "@typescript-eslint/parser": "^8.34.0",
124
- "@vitest/eslint-plugin": "^1.2.2",
125
- "eslint-config-expo": "^9.2.0",
126
- "eslint-config-prettier": "^10.1.5",
127
- "eslint-config-turbo": "^2.5.4",
111
+ "@eslint/core": "^0.16.0",
112
+ "@eslint/js": "^9.37.0",
113
+ "@typescript-eslint/eslint-plugin": "^8.46.0",
114
+ "@typescript-eslint/parser": "^8.46.0",
115
+ "@vitest/eslint-plugin": "^1.3.16",
116
+ "eslint-config-expo": "^10.0.0",
117
+ "eslint-config-prettier": "^10.1.8",
118
+ "eslint-config-turbo": "^2.5.8",
128
119
  "eslint-import-resolver-typescript": "^4.4.4",
129
- "eslint-plugin-better-tailwindcss": "^3.7.5",
130
- "eslint-plugin-expo": "^0.1.4",
120
+ "eslint-plugin-better-tailwindcss": "^3.7.9",
121
+ "eslint-plugin-expo": "^1.0.0",
131
122
  "eslint-plugin-import": "^2.32.0",
132
123
  "eslint-plugin-lingui": "^0.11.0",
133
124
  "eslint-plugin-react": "^7.37.5",
134
- "eslint-plugin-react-hooks": "^5.2.0",
135
- "eslint-plugin-react-refresh": "^0.4.20",
125
+ "eslint-plugin-react-hooks": "^7.0.0",
126
+ "eslint-plugin-react-refresh": "^0.4.23",
136
127
  "eslint-plugin-simple-import-sort": "^12.1.1",
137
- "eslint-plugin-storybook": "^9.0.0",
138
- "eslint-plugin-turbo": "^2.5.4",
139
- "globals": "^16.2.0",
140
- "typescript-eslint": "^8.34.0"
128
+ "eslint-plugin-storybook": "^9.1.10",
129
+ "eslint-plugin-turbo": "^2.5.8",
130
+ "globals": "^16.4.0",
131
+ "typescript-eslint": "^8.46.0"
141
132
  },
142
133
  "devDependencies": {
143
- "@eslint/config-inspector": "^1.2.0",
144
- "@stzhu/prettier-plugin-tsconfig": "^0.6.0",
134
+ "@eslint/config-inspector": "^1.3.0",
135
+ "@stzhu/prettier-plugin-tsconfig": "^0.6.1",
145
136
  "@stzhu/tsconfig": "^0.1.0",
146
137
  "@types/eslint-config-prettier": "^6.11.3",
147
- "prettier": "^3.5.3",
148
- "prettier-plugin-packagejson": "^2.5.15",
149
- "tsup": "^8.5.0"
138
+ "prettier": "^3.6.2",
139
+ "prettier-plugin-packagejson": "^2.5.19",
140
+ "tsup": "^8.5.0",
141
+ "vitest": "^3.2.4"
150
142
  },
151
143
  "peerDependencies": {
152
144
  "eslint": "^9",
@@ -169,6 +161,7 @@
169
161
  "format": "prettier -w .",
170
162
  "inspect": "eslint --inspect-config",
171
163
  "lint": "prettier -c . && eslint .",
172
- "test": "tsc --noEmit"
164
+ "test": "tsc --noEmit && vitest",
165
+ "watch": "tsup --watch"
173
166
  }
174
167
  }
@@ -1,36 +0,0 @@
1
- // src/configs/import.ts
2
- import { defineConfig } from "eslint/config";
3
- import importPlugin from "eslint-plugin-import";
4
- import simpleImportSort from "eslint-plugin-simple-import-sort";
5
- var import_default = defineConfig(
6
- importPlugin.flatConfigs.recommended,
7
- {
8
- name: "import/custom",
9
- settings: {
10
- "import/resolver": {
11
- typescript: true,
12
- node: true
13
- }
14
- },
15
- rules: {
16
- "import/enforce-node-protocol-usage": ["error", "always"],
17
- "import/first": "error",
18
- "import/newline-after-import": "error"
19
- }
20
- },
21
- {
22
- name: "simple-import-sort/custom",
23
- plugins: {
24
- "simple-import-sort": simpleImportSort
25
- },
26
- rules: {
27
- "simple-import-sort/imports": "error",
28
- "simple-import-sort/exports": "error"
29
- }
30
- }
31
- );
32
-
33
- export {
34
- import_default
35
- };
36
- //# sourceMappingURL=chunk-VT2KKBLH.js.map
@@ -1 +0,0 @@
1
- {"version":3,"sources":["../src/configs/import.ts"],"sourcesContent":["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"],"mappings":";AAAA,SAAS,oBAAoB;AAC7B,OAAO,kBAAkB;AACzB,OAAO,sBAAsB;AAE7B,IAAO,iBAAQ;AAAA,EACb,aAAa,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;AAAA,IACxB;AAAA,IACA,OAAO;AAAA,MACL,8BAA8B;AAAA,MAC9B,8BAA8B;AAAA,IAChC;AAAA,EACF;AACF;","names":[]}
package/dist/index.cjs DELETED
@@ -1,33 +0,0 @@
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/index.ts
21
- var index_exports = {};
22
- __export(index_exports, {
23
- defineConfig: () => import_config.defineConfig,
24
- globalIgnores: () => import_config.globalIgnores
25
- });
26
- module.exports = __toCommonJS(index_exports);
27
- var import_config = require("eslint/config");
28
- // Annotate the CommonJS export names for ESM import in node:
29
- 0 && (module.exports = {
30
- defineConfig,
31
- globalIgnores
32
- });
33
- //# sourceMappingURL=index.cjs.map
@@ -1 +0,0 @@
1
- {"version":3,"sources":["../src/index.ts"],"sourcesContent":["export { defineConfig, globalIgnores } from 'eslint/config';\n"],"mappings":";;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,oBAA4C;","names":[]}
package/dist/index.d.cts DELETED
@@ -1 +0,0 @@
1
- export { defineConfig, globalIgnores } from 'eslint/config';
package/dist/index.d.ts DELETED
@@ -1 +0,0 @@
1
- export { defineConfig, globalIgnores } from 'eslint/config';
package/dist/index.js DELETED
@@ -1,7 +0,0 @@
1
- // src/index.ts
2
- import { defineConfig, globalIgnores } from "eslint/config";
3
- export {
4
- defineConfig,
5
- globalIgnores
6
- };
7
- //# sourceMappingURL=index.js.map
package/dist/index.js.map DELETED
@@ -1 +0,0 @@
1
- {"version":3,"sources":["../src/index.ts"],"sourcesContent":["export { defineConfig, globalIgnores } from 'eslint/config';\n"],"mappings":";AAAA,SAAS,cAAc,qBAAqB;","names":[]}