@fabdeh/eslint-config 0.0.3 → 0.1.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/package.json CHANGED
@@ -1,41 +1,42 @@
1
1
  {
2
2
  "name": "@fabdeh/eslint-config",
3
3
  "type": "module",
4
- "version": "0.0.3",
4
+ "version": "0.1.0",
5
+ "packageManager": "pnpm@10.0.0",
5
6
  "description": "My personal eslint config preset",
6
- "homepage": "https://github.com/FabienDehopre/eslint-config",
7
- "keywords": [
8
- "eslint-config"
9
- ],
10
7
  "author": "Fabien Dehopré <fabien@dehopre.dev> (https://github.com/FabienDehopre)",
11
8
  "license": "MIT",
9
+ "homepage": "https://eslint-config.dehopre.dev/",
12
10
  "repository": {
13
11
  "type": "git",
14
12
  "url": "git+https://github.com/FabienDehopre/eslint-config.git"
15
13
  },
14
+ "keywords": [
15
+ "eslint-config"
16
+ ],
16
17
  "publishConfig": {
17
18
  "access": "public"
18
19
  },
19
- "packageManager": "pnpm@10.0.0",
20
20
  "exports": {
21
21
  ".": {
22
+ "import": {
23
+ "types": "./dist/index.d.ts",
24
+ "default": "./dist/index.mjs"
25
+ },
22
26
  "require": {
23
27
  "types": "./dist/index.d.cts",
24
28
  "default": "./dist/index.cjs"
25
- },
26
- "import": {
27
- "types": "./dist/index.d.ts",
28
- "default": "./dist/index.js"
29
29
  }
30
30
  }
31
31
  },
32
- "main": "./dist/index.js",
32
+ "main": "./dist/index.mjs",
33
+ "module": "./dist/index.mjs",
33
34
  "types": "./dist/index.d.ts",
34
35
  "files": [
35
36
  "dist"
36
37
  ],
37
38
  "scripts": {
38
- "build": "tsup",
39
+ "build": "unbuild",
39
40
  "build:inspector": "pnpm build && pnpm dlx @eslint/config-inspector build",
40
41
  "dev": "pnpm dlx @eslint/config-inspector --config eslint.config.ts",
41
42
  "preinstall": "npx only-allow pnpm",
@@ -43,95 +44,83 @@
43
44
  "commit": "git-cz",
44
45
  "lint": "eslint . --fix",
45
46
  "lint:check": "eslint . --quiet",
46
- "format": "prettier . --write",
47
- "format:check": "prettier . --check",
48
47
  "prepack": "pnpm build",
49
48
  "release": "bumpp && npm publish",
50
49
  "typecheck": "tsc --noEmit"
51
50
  },
52
51
  "peerDependencies": {
53
- "@ngrx/eslint-plugin": "19.0.0",
54
- "@vitest/eslint-plugin": "^1.1.25",
52
+ "@prettier/plugin-xml": "^3.4.1",
55
53
  "eslint": "^9.10.0",
56
- "eslint-plugin-jest": "^28.11.0",
57
- "eslint-plugin-jest-dom": "^5.5.0",
58
- "eslint-plugin-tailwindcss": "^3.18.0",
59
- "eslint-plugin-testing-library": "^7.1.1"
54
+ "eslint-plugin-format": "^1.0.1"
60
55
  },
61
56
  "peerDependenciesMeta": {
62
- "@ngrx/eslint-plugin": {
57
+ "@prettier/plugin-xml": {
63
58
  "optional": true
64
59
  },
65
- "@vitest/eslint-plugin": {
66
- "optional": true
67
- },
68
- "eslint-plugin-jest": {
69
- "optional": true
70
- },
71
- "eslint-plugin-jest-dom": {
72
- "optional": true
73
- },
74
- "eslint-plugin-tailwindcss": {
75
- "optional": true
76
- },
77
- "eslint-plugin-testing-library": {
60
+ "eslint-plugin-format": {
78
61
  "optional": true
79
62
  }
80
63
  },
81
64
  "dependencies": {
82
- "@angular-eslint/utils": "^19.0.2",
65
+ "@antfu/install-pkg": "^1.0.0",
66
+ "@clack/prompts": "^0.10.0",
83
67
  "@eslint-community/eslint-plugin-eslint-comments": "^4.4.1",
84
- "@eslint/js": "^9.18.0",
85
- "@nx/eslint-plugin": "^20.3.2",
86
- "@stylistic/eslint-plugin": "^2.13.0",
87
- "@typescript-eslint/eslint-plugin": "^8.20.0",
88
- "@typescript-eslint/parser": "^8.20.0",
89
- "@typescript-eslint/utils": "^8.20.0",
68
+ "@eslint/js": "^9.19.0",
69
+ "@eslint/markdown": "^6.2.2",
70
+ "@ngrx/eslint-plugin": "^19.0.1",
71
+ "@stylistic/eslint-plugin": "^3.0.1",
72
+ "@typescript-eslint/eslint-plugin": "^8.23.0",
73
+ "@typescript-eslint/parser": "^8.23.0",
74
+ "@typescript-eslint/utils": "^8.23.0",
75
+ "@vitest/eslint-plugin": "^1.1.25",
90
76
  "angular-eslint": "^19.0.2",
91
- "eslint-config-flat-gitignore": "^1.0.0",
92
- "eslint-flat-config-utils": "^1.0.0",
77
+ "eslint-config-flat-gitignore": "^2.0.0",
78
+ "eslint-flat-config-utils": "^2.0.1",
79
+ "eslint-merge-processors": "^1.0.0",
93
80
  "eslint-plugin-import-x": "^4.6.1",
94
- "eslint-plugin-jsdoc": "^50.6.2",
95
- "eslint-plugin-perfectionist": "^4.6.0",
81
+ "eslint-plugin-jest": "^28.11.0",
82
+ "eslint-plugin-jest-dom": "^5.5.0",
83
+ "eslint-plugin-jsdoc": "^50.6.3",
84
+ "eslint-plugin-jsonc": "^2.19.1",
85
+ "eslint-plugin-perfectionist": "^4.8.0",
96
86
  "eslint-plugin-prefer-arrow-functions": "^3.6.2",
87
+ "eslint-plugin-tailwindcss": "^3.18.0",
88
+ "eslint-plugin-testing-library": "^7.1.1",
89
+ "eslint-plugin-toml": "^0.12.0",
97
90
  "eslint-plugin-unicorn": "^56.0.1",
98
91
  "eslint-plugin-unused-imports": "^4.1.4",
92
+ "eslint-plugin-yml": "^1.16.0",
99
93
  "globals": "^15.14.0",
94
+ "jsonc-eslint-parser": "^2.4.0",
100
95
  "local-pkg": "^1.0.0",
101
- "typescript-eslint": "^8.20.0"
96
+ "toml-eslint-parser": "^0.10.0",
97
+ "typescript-eslint": "^8.23.0",
98
+ "yaml-eslint-parser": "^1.2.3"
102
99
  },
103
100
  "devDependencies": {
104
- "@commitlint/cli": "^19.6.1",
105
- "@commitlint/config-conventional": "^19.6.0",
101
+ "@commitlint/cli": "^19.7.1",
102
+ "@commitlint/config-conventional": "^19.7.1",
106
103
  "@commitlint/cz-commitlint": "^19.6.1",
107
- "@ngrx/eslint-plugin": "^19.0.0",
108
- "@types/node": "^22.10.5",
109
- "@vitest/eslint-plugin": "^1.1.25",
110
- "bumpp": "^9.10.1",
104
+ "@prettier/plugin-xml": "^3.4.1",
105
+ "@types/node": "^22.13.1",
106
+ "bumpp": "^10.0.2",
111
107
  "commitizen": "^4.3.1",
112
- "eslint": "^9.18.0",
113
- "eslint-config-prettier": "^10.0.1",
114
- "eslint-plugin-jest": "^28.11.0",
115
- "eslint-plugin-jest-dom": "^5.5.0",
116
- "eslint-plugin-tailwindcss": "^3.18.0",
117
- "eslint-plugin-testing-library": "^7.1.1",
118
- "fix-tsup-cjs": "^1.2.0",
108
+ "eslint": "^9.19.0",
109
+ "eslint-plugin-format": "^1.0.1",
119
110
  "inquirer": "^9.3.7",
120
111
  "is-ci": "^4.1.0",
121
112
  "jiti": "^2.4.2",
122
113
  "nano-staged": "^0.8.0",
123
- "prettier": "^3.4.2",
124
114
  "simple-git-hooks": "^2.11.1",
125
- "tsup": "^8.3.5",
126
- "typescript": "^5.7.3"
115
+ "typescript": "^5.7.3",
116
+ "unbuild": "^3.3.1"
127
117
  },
128
118
  "simple-git-hooks": {
129
119
  "pre-commit": "pnpm nano-staged",
130
120
  "commit-msg": "pnpm commitlint --edit ${1}"
131
121
  },
132
122
  "nano-staged": {
133
- "*": "prettier --ignore-unknown --write",
134
- "*.{js,ts}": "eslint --fix"
123
+ "*": "eslint --fix"
135
124
  },
136
125
  "config": {
137
126
  "commitizen": {