@devapoo-dev/eslint-config 1.1.1 → 1.1.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/package.json CHANGED
@@ -1,22 +1,26 @@
1
1
  {
2
2
  "name": "@devapoo-dev/eslint-config",
3
- "version": "1.1.1",
3
+ "version": "1.1.2",
4
4
  "private": false,
5
5
  "type": "module",
6
- "main": "./dist/index.js",
7
- "types": "./dist/index.d.ts",
8
- "files": [
9
- "dist"
10
- ],
6
+ "exports": {
7
+ ".": {
8
+ "default": "./src/create-config.mjs",
9
+ "types": "./src/create-config.d.ts"
10
+ }
11
+ },
11
12
  "dependencies": {
12
- "@eslint/js": "^10.0.1",
13
- "@types/eslint__js": "^8.42.3",
14
- "eslint": "^10.2.0",
15
- "tsup": "^8.5.1",
16
- "typescript": "^5.9.3",
17
- "typescript-eslint": "^8.58.1"
13
+ "@antfu/eslint-config": "^8.2.0",
14
+ "eslint": "9",
15
+ "eslint-plugin-check-file": "^3.3.1",
16
+ "eslint-plugin-prettier": "^5.5.5",
17
+ "eslint-plugin-tailwindcss": "^3.18.3"
18
+ },
19
+ "devDependencies": {
20
+ "@devapoo-dev/tsconfig": "0.0.2"
18
21
  },
19
22
  "scripts": {
20
- "build": "tsup src/index.ts --dts --format esm"
23
+ "lint": "eslint .",
24
+ "typecheck": "tsc --noEmit"
21
25
  }
22
26
  }
package/dist/index.d.ts DELETED
@@ -1,5 +0,0 @@
1
- import * as typescript_eslint from 'typescript-eslint';
2
-
3
- declare const createEslintConfig: () => typescript_eslint.FlatConfig.ConfigArray;
4
-
5
- export { createEslintConfig };
package/dist/index.js DELETED
@@ -1,15 +0,0 @@
1
- // src/index.ts
2
- import eslint from "@eslint/js";
3
- import tseslint from "typescript-eslint";
4
- var createEslintConfig = () => {
5
- return tseslint.config(
6
- eslint.configs.recommended,
7
- ...tseslint.configs.recommended,
8
- {
9
- ignores: ["node_modules", "dist"]
10
- }
11
- );
12
- };
13
- export {
14
- createEslintConfig
15
- };