@danielwaltz/eslint-config 2.4.0 → 2.5.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/CHANGELOG.md CHANGED
@@ -1,6 +1,22 @@
1
1
  # Changelog
2
2
 
3
3
 
4
+ ## v2.5.0
5
+
6
+ [compare changes](https://github.com/danielwaltz/eslint-config/compare/v2.4.0...v2.5.0)
7
+
8
+ ### 🚀 Enhancements
9
+
10
+ - Add eslint plugin depend ([1dc8d39](https://github.com/danielwaltz/eslint-config/commit/1dc8d39))
11
+
12
+ ### 🩹 Fixes
13
+
14
+ - Update sxzz config ([5289ac5](https://github.com/danielwaltz/eslint-config/commit/5289ac5))
15
+
16
+ ### ❤️ Contributors
17
+
18
+ - Daniel Waltz ([@danielwaltz](https://github.com/danielwaltz))
19
+
4
20
  ## v2.4.0
5
21
 
6
22
  [compare changes](https://github.com/danielwaltz/eslint-config/compare/v2.3.1...v2.4.0)
package/dist/index.mjs CHANGED
@@ -1,10 +1,20 @@
1
1
  import { hasVue, sxzz } from "@sxzz/eslint-config";
2
+ import { configs } from "eslint-plugin-depend";
2
3
  import erasableSyntaxOnlyPlugin from "eslint-plugin-erasable-syntax-only";
3
4
  import vueA11yPlugin from "eslint-plugin-vuejs-accessibility";
4
5
  import { composer, defineFlatConfig } from "eslint-flat-config-utils";
5
6
 
6
7
  export * from "@sxzz/eslint-config"
7
8
 
9
+ //#region src/configs/depend.ts
10
+ function dependConfigs() {
11
+ return [{
12
+ name: "danielwaltz/depend",
13
+ ...configs["flat/recommended"]
14
+ }];
15
+ }
16
+
17
+ //#endregion
8
18
  //#region src/configs/typescript.ts
9
19
  function typescriptConfigs() {
10
20
  return [{
@@ -119,8 +129,8 @@ function vueConfigs() {
119
129
 
120
130
  //#endregion
121
131
  //#region src/utils.ts
122
- function defineFlatConfigs(...configs) {
123
- return composer(...configs);
132
+ function defineFlatConfigs(...configs$1) {
133
+ return composer(...configs$1);
124
134
  }
125
135
 
126
136
  //#endregion
@@ -128,6 +138,7 @@ function defineFlatConfigs(...configs) {
128
138
  function danielwaltz(...params) {
129
139
  const composer$1 = defineFlatConfigs();
130
140
  composer$1.prepend(sxzz(...params));
141
+ composer$1.append(dependConfigs());
131
142
  composer$1.append(typescriptConfigs());
132
143
  composer$1.append(unicornConfigs());
133
144
  if (hasVue()) composer$1.append(vueConfigs());
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@danielwaltz/eslint-config",
3
- "version": "2.4.0",
4
- "packageManager": "pnpm@10.11.0",
3
+ "version": "2.5.0",
4
+ "packageManager": "pnpm@10.11.1",
5
5
  "type": "module",
6
6
  "keywords": [
7
7
  "eslint-config"
@@ -40,14 +40,15 @@
40
40
  "prettier": ">=3"
41
41
  },
42
42
  "dependencies": {
43
- "@sxzz/eslint-config": "^7.0.1",
43
+ "@sxzz/eslint-config": "^7.0.2",
44
44
  "eslint-flat-config-utils": "^2.1.0",
45
+ "eslint-plugin-depend": "^1.2.0",
45
46
  "eslint-plugin-erasable-syntax-only": "^0.3.1",
46
47
  "eslint-plugin-vuejs-accessibility": "^2.4.1"
47
48
  },
48
49
  "devDependencies": {
49
50
  "@tsconfig/node22": "^22.0.2",
50
- "@types/node": "~22.15.29",
51
+ "@types/node": "~22.15.30",
51
52
  "changelogen": "^0.6.1",
52
53
  "obuild": "^0.2.1",
53
54
  "typescript": "~5.8.3"