@stzhu/eslint-config 0.6.4 → 0.7.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/README.md +5 -5
- package/dist/react.cjs +2 -2
- package/dist/react.cjs.map +1 -1
- package/dist/react.js +2 -2
- package/dist/react.js.map +1 -1
- package/package.json +4 -14
- package/dist/index.cjs +0 -33
- package/dist/index.cjs.map +0 -1
- package/dist/index.d.cts +0 -1
- package/dist/index.d.ts +0 -1
- package/dist/index.js +0 -7
- package/dist/index.js.map +0 -1
package/README.md
CHANGED
|
@@ -34,8 +34,8 @@ Create an `eslint.config.js` (or `eslint.config.ts` for TypeScript projects) fil
|
|
|
34
34
|
```javascript
|
|
35
35
|
// @ts-check
|
|
36
36
|
|
|
37
|
-
import { defineConfig } from '@stzhu/eslint-config';
|
|
38
37
|
import tsConfig from '@stzhu/eslint-config/ts';
|
|
38
|
+
import { defineConfig } from 'eslint/config';
|
|
39
39
|
|
|
40
40
|
export default defineConfig(
|
|
41
41
|
// select from one of the configs below
|
|
@@ -71,8 +71,8 @@ Add these as needed:
|
|
|
71
71
|
### TypeScript Project
|
|
72
72
|
|
|
73
73
|
```javascript
|
|
74
|
-
import { defineConfig } from '@stzhu/eslint-config';
|
|
75
74
|
import tsConfig from '@stzhu/eslint-config/ts';
|
|
75
|
+
import { defineConfig } from 'eslint/config';
|
|
76
76
|
|
|
77
77
|
export default defineConfig(...tsConfig);
|
|
78
78
|
```
|
|
@@ -80,8 +80,8 @@ export default defineConfig(...tsConfig);
|
|
|
80
80
|
### React Project
|
|
81
81
|
|
|
82
82
|
```javascript
|
|
83
|
-
import { defineConfig } from '@stzhu/eslint-config';
|
|
84
83
|
import reactConfig from '@stzhu/eslint-config/react';
|
|
84
|
+
import { defineConfig } from 'eslint/config';
|
|
85
85
|
|
|
86
86
|
export default defineConfig(...reactConfig);
|
|
87
87
|
```
|
|
@@ -89,9 +89,9 @@ export default defineConfig(...reactConfig);
|
|
|
89
89
|
### React Project with Testing
|
|
90
90
|
|
|
91
91
|
```javascript
|
|
92
|
-
import { defineConfig } from '@stzhu/eslint-config';
|
|
93
92
|
import reactConfig from '@stzhu/eslint-config/react';
|
|
94
93
|
import vitestConfig from '@stzhu/eslint-config/vitest';
|
|
94
|
+
import { defineConfig } from 'eslint/config';
|
|
95
95
|
|
|
96
96
|
export default defineConfig(...reactConfig, ...vitestConfig);
|
|
97
97
|
```
|
|
@@ -99,9 +99,9 @@ export default defineConfig(...reactConfig, ...vitestConfig);
|
|
|
99
99
|
### Expo Project with Tailwind
|
|
100
100
|
|
|
101
101
|
```javascript
|
|
102
|
-
import { defineConfig } from '@stzhu/eslint-config';
|
|
103
102
|
import expoConfig from '@stzhu/eslint-config/expo';
|
|
104
103
|
import tailwindConfig from '@stzhu/eslint-config/tailwind';
|
|
104
|
+
import { defineConfig } from 'eslint/config';
|
|
105
105
|
|
|
106
106
|
export default defineConfig(...expoConfig, ...tailwindConfig);
|
|
107
107
|
```
|
package/dist/react.cjs
CHANGED
|
@@ -37,7 +37,7 @@ var import_config4 = require("eslint/config");
|
|
|
37
37
|
var import_eslint_config_prettier2 = __toESM(require("eslint-config-prettier"), 1);
|
|
38
38
|
var import_eslint_plugin_import3 = __toESM(require("eslint-plugin-import"), 1);
|
|
39
39
|
var import_eslint_plugin_react = __toESM(require("eslint-plugin-react"), 1);
|
|
40
|
-
var import_eslint_plugin_react_hooks = require("eslint-plugin-react-hooks");
|
|
40
|
+
var import_eslint_plugin_react_hooks = __toESM(require("eslint-plugin-react-hooks"), 1);
|
|
41
41
|
var import_eslint_plugin_react_refresh = __toESM(require("eslint-plugin-react-refresh"), 1);
|
|
42
42
|
var import_globals2 = __toESM(require("globals"), 1);
|
|
43
43
|
|
|
@@ -186,7 +186,7 @@ var react_default = (0, import_config4.defineConfig)(
|
|
|
186
186
|
]
|
|
187
187
|
}
|
|
188
188
|
},
|
|
189
|
-
import_eslint_plugin_react_hooks.configs["recommended-latest"],
|
|
189
|
+
import_eslint_plugin_react_hooks.default.configs.flat["recommended-latest"] ?? [],
|
|
190
190
|
{
|
|
191
191
|
name: "react-refresh/custom",
|
|
192
192
|
plugins: {
|
package/dist/react.cjs.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../src/react.ts","../src/ts.ts","../src/configs/import.ts","../src/configs/typescript.ts"],"sourcesContent":["import { defineConfig } from 'eslint/config';\nimport prettier from 'eslint-config-prettier';\nimport importPlugin from 'eslint-plugin-import';\nimport react from 'eslint-plugin-react';\nimport
|
|
1
|
+
{"version":3,"sources":["../src/react.ts","../src/ts.ts","../src/configs/import.ts","../src/configs/typescript.ts"],"sourcesContent":["import { defineConfig } from 'eslint/config';\nimport prettier from 'eslint-config-prettier';\nimport importPlugin from 'eslint-plugin-import';\nimport react from 'eslint-plugin-react';\nimport reactHooks from 'eslint-plugin-react-hooks';\nimport reactRefresh from 'eslint-plugin-react-refresh';\nimport globals from 'globals';\n\nimport baseConfig from './ts.js';\n\nexport default defineConfig(\n baseConfig,\n importPlugin.flatConfigs.react,\n {\n name: 'react/src-browser-globals',\n files: ['**/*.{ts,tsx}'],\n languageOptions: {\n globals: globals.browser,\n },\n },\n react.configs.flat['recommended'] ?? [],\n react.configs.flat['jsx-runtime'] ?? [],\n {\n name: 'react/custom',\n settings: {\n react: {\n version: 'detect',\n },\n },\n rules: {\n 'react/function-component-definition': [\n 'error',\n { namedComponents: 'function-declaration' },\n ],\n },\n },\n reactHooks.configs.flat['recommended-latest'] ?? [],\n {\n name: 'react-refresh/custom',\n plugins: {\n 'react-refresh': reactRefresh,\n },\n rules: {\n 'react-refresh/only-export-components': 'warn',\n },\n },\n prettier,\n);\n","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,IAAAA,iBAA6B;AAC7B,IAAAC,iCAAqB;AACrB,IAAAC,+BAAyB;AACzB,iCAAkB;AAClB,uCAAuB;AACvB,yCAAyB;AACzB,IAAAC,kBAAoB;;;ACNpB,gBAAe;AACf,IAAAC,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;;;ADfA,IAAO,oBAAQ;AAAA,EACb;AAAA,EACA,6BAAAC,QAAa,YAAY;AAAA,EACzB;AAAA,IACE,MAAM;AAAA,IACN,OAAO,CAAC,eAAe;AAAA,IACvB,iBAAiB;AAAA,MACf,SAAS,gBAAAC,QAAQ;AAAA,IACnB;AAAA,EACF;AAAA,EACA,2BAAAC,QAAM,QAAQ,KAAK,aAAa,KAAK,CAAC;AAAA,EACtC,2BAAAA,QAAM,QAAQ,KAAK,aAAa,KAAK,CAAC;AAAA,EACtC;AAAA,IACE,MAAM;AAAA,IACN,UAAU;AAAA,MACR,OAAO;AAAA,QACL,SAAS;AAAA,MACX;AAAA,IACF;AAAA,IACA,OAAO;AAAA,MACL,uCAAuC;AAAA,QACrC;AAAA,QACA,EAAE,iBAAiB,uBAAuB;AAAA,MAC5C;AAAA,IACF;AAAA,EACF;AAAA,EACA,iCAAAC,QAAW,QAAQ,KAAK,oBAAoB,KAAK,CAAC;AAAA,EAClD;AAAA,IACE,MAAM;AAAA,IACN,SAAS;AAAA,MACP,iBAAiB,mCAAAC;AAAA,IACnB;AAAA,IACA,OAAO;AAAA,MACL,wCAAwC;AAAA,IAC1C;AAAA,EACF;AAAA,EACA,+BAAAC;AACF;","names":["import_config","import_eslint_config_prettier","import_eslint_plugin_import","import_globals","import_config","import_eslint_plugin_import","importPlugin","simpleImportSort","import_config","tseslintConfigs","js","importPlugin","globals","prettier","importPlugin","globals","react","reactHooks","reactRefresh","prettier"]}
|
package/dist/react.js
CHANGED
|
@@ -8,7 +8,7 @@ import { defineConfig } from "eslint/config";
|
|
|
8
8
|
import prettier from "eslint-config-prettier";
|
|
9
9
|
import importPlugin from "eslint-plugin-import";
|
|
10
10
|
import react from "eslint-plugin-react";
|
|
11
|
-
import
|
|
11
|
+
import reactHooks from "eslint-plugin-react-hooks";
|
|
12
12
|
import reactRefresh from "eslint-plugin-react-refresh";
|
|
13
13
|
import globals from "globals";
|
|
14
14
|
var react_default = defineConfig(
|
|
@@ -37,7 +37,7 @@ var react_default = defineConfig(
|
|
|
37
37
|
]
|
|
38
38
|
}
|
|
39
39
|
},
|
|
40
|
-
|
|
40
|
+
reactHooks.configs.flat["recommended-latest"] ?? [],
|
|
41
41
|
{
|
|
42
42
|
name: "react-refresh/custom",
|
|
43
43
|
plugins: {
|
package/dist/react.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../src/react.ts"],"sourcesContent":["import { defineConfig } from 'eslint/config';\nimport prettier from 'eslint-config-prettier';\nimport importPlugin from 'eslint-plugin-import';\nimport react from 'eslint-plugin-react';\nimport
|
|
1
|
+
{"version":3,"sources":["../src/react.ts"],"sourcesContent":["import { defineConfig } from 'eslint/config';\nimport prettier from 'eslint-config-prettier';\nimport importPlugin from 'eslint-plugin-import';\nimport react from 'eslint-plugin-react';\nimport reactHooks from 'eslint-plugin-react-hooks';\nimport reactRefresh from 'eslint-plugin-react-refresh';\nimport globals from 'globals';\n\nimport baseConfig from './ts.js';\n\nexport default defineConfig(\n baseConfig,\n importPlugin.flatConfigs.react,\n {\n name: 'react/src-browser-globals',\n files: ['**/*.{ts,tsx}'],\n languageOptions: {\n globals: globals.browser,\n },\n },\n react.configs.flat['recommended'] ?? [],\n react.configs.flat['jsx-runtime'] ?? [],\n {\n name: 'react/custom',\n settings: {\n react: {\n version: 'detect',\n },\n },\n rules: {\n 'react/function-component-definition': [\n 'error',\n { namedComponents: 'function-declaration' },\n ],\n },\n },\n reactHooks.configs.flat['recommended-latest'] ?? [],\n {\n name: 'react-refresh/custom',\n plugins: {\n 'react-refresh': reactRefresh,\n },\n rules: {\n 'react-refresh/only-export-components': 'warn',\n },\n },\n prettier,\n);\n"],"mappings":";;;;;;AAAA,SAAS,oBAAoB;AAC7B,OAAO,cAAc;AACrB,OAAO,kBAAkB;AACzB,OAAO,WAAW;AAClB,OAAO,gBAAgB;AACvB,OAAO,kBAAkB;AACzB,OAAO,aAAa;AAIpB,IAAO,gBAAQ;AAAA,EACb;AAAA,EACA,aAAa,YAAY;AAAA,EACzB;AAAA,IACE,MAAM;AAAA,IACN,OAAO,CAAC,eAAe;AAAA,IACvB,iBAAiB;AAAA,MACf,SAAS,QAAQ;AAAA,IACnB;AAAA,EACF;AAAA,EACA,MAAM,QAAQ,KAAK,aAAa,KAAK,CAAC;AAAA,EACtC,MAAM,QAAQ,KAAK,aAAa,KAAK,CAAC;AAAA,EACtC;AAAA,IACE,MAAM;AAAA,IACN,UAAU;AAAA,MACR,OAAO;AAAA,QACL,SAAS;AAAA,MACX;AAAA,IACF;AAAA,IACA,OAAO;AAAA,MACL,uCAAuC;AAAA,QACrC;AAAA,QACA,EAAE,iBAAiB,uBAAuB;AAAA,MAC5C;AAAA,IACF;AAAA,EACF;AAAA,EACA,WAAW,QAAQ,KAAK,oBAAoB,KAAK,CAAC;AAAA,EAClD;AAAA,IACE,MAAM;AAAA,IACN,SAAS;AAAA,MACP,iBAAiB;AAAA,IACnB;AAAA,IACA,OAAO;AAAA,MACL,wCAAwC;AAAA,IAC1C;AAAA,EACF;AAAA,EACA;AACF;","names":[]}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@stzhu/eslint-config",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.7.0",
|
|
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",
|
|
@@ -122,16 +112,16 @@
|
|
|
122
112
|
"@typescript-eslint/eslint-plugin": "^8.34.0",
|
|
123
113
|
"@typescript-eslint/parser": "^8.34.0",
|
|
124
114
|
"@vitest/eslint-plugin": "^1.2.2",
|
|
125
|
-
"eslint-config-expo": "^
|
|
115
|
+
"eslint-config-expo": "^10.0.0",
|
|
126
116
|
"eslint-config-prettier": "^10.1.5",
|
|
127
117
|
"eslint-config-turbo": "^2.5.4",
|
|
128
118
|
"eslint-import-resolver-typescript": "^4.4.4",
|
|
129
119
|
"eslint-plugin-better-tailwindcss": "^3.7.5",
|
|
130
|
-
"eslint-plugin-expo": "^0.
|
|
120
|
+
"eslint-plugin-expo": "^1.0.0",
|
|
131
121
|
"eslint-plugin-import": "^2.32.0",
|
|
132
122
|
"eslint-plugin-lingui": "^0.11.0",
|
|
133
123
|
"eslint-plugin-react": "^7.37.5",
|
|
134
|
-
"eslint-plugin-react-hooks": "^
|
|
124
|
+
"eslint-plugin-react-hooks": "^7.0.0",
|
|
135
125
|
"eslint-plugin-react-refresh": "^0.4.20",
|
|
136
126
|
"eslint-plugin-simple-import-sort": "^12.1.1",
|
|
137
127
|
"eslint-plugin-storybook": "^9.0.0",
|
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
|
package/dist/index.cjs.map
DELETED
|
@@ -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
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":[]}
|