@danielwaltz/eslint-config 2.5.1 → 2.6.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,26 @@
1
1
  # Changelog
2
2
 
3
3
 
4
+ ## v2.6.0
5
+
6
+ [compare changes](https://github.com/danielwaltz/eslint-config/compare/v2.5.1...v2.6.0)
7
+
8
+ ### 🚀 Enhancements
9
+
10
+ - Add vue no negated condition rules ([152903f](https://github.com/danielwaltz/eslint-config/commit/152903f))
11
+
12
+ ### 🏡 Chore
13
+
14
+ - Update deps ([2634219](https://github.com/danielwaltz/eslint-config/commit/2634219))
15
+
16
+ ### 🤖 CI
17
+
18
+ - Release via github actions ([4a9a17f](https://github.com/danielwaltz/eslint-config/commit/4a9a17f))
19
+
20
+ ### ❤️ Contributors
21
+
22
+ - Daniel Waltz ([@danielwaltz](https://github.com/danielwaltz))
23
+
4
24
  ## v2.5.1
5
25
 
6
26
  [compare changes](https://github.com/danielwaltz/eslint-config/compare/v2.5.0...v2.5.1)
package/dist/index.d.mts CHANGED
@@ -1,8 +1,8 @@
1
1
  import { sxzz } from "@sxzz/eslint-config";
2
- import * as eslint_flat_config_utils9 from "eslint-flat-config-utils";
3
- import * as eslint_flat_config_utils4 from "eslint-flat-config-utils";
2
+ import * as eslint_flat_config_utils0$1 from "eslint-flat-config-utils";
3
+ import * as eslint_flat_config_utils0 from "eslint-flat-config-utils";
4
4
  import { DefaultConfigNamesMap, DefaultConfigNamesMap as DefaultConfigNamesMap$1, ResolvableFlatConfig, defineFlatConfig } from "eslint-flat-config-utils";
5
- import * as eslint5 from "eslint";
5
+ import * as eslint3 from "eslint";
6
6
  import * as eslint0 from "eslint";
7
7
  import { Linter } from "eslint";
8
8
  export * from "@sxzz/eslint-config";
@@ -12,9 +12,9 @@ type BaseConfig = Linter.Config;
12
12
  type BaseConfigNames = keyof DefaultConfigNamesMap$1;
13
13
  //#endregion
14
14
  //#region src/utils.d.ts
15
- declare function defineFlatConfigs<const TConfig extends BaseConfig = BaseConfig, const TConfigNames extends string = BaseConfigNames>(...configs: ResolvableFlatConfig<TConfig>[]): eslint_flat_config_utils9.FlatConfigComposer<eslint5.Linter.Config<eslint5.Linter.RulesRecord> extends TConfig ? TConfig : eslint5.Linter.Config<eslint5.Linter.RulesRecord>, TConfigNames>;
15
+ declare function defineFlatConfigs<const TConfig extends BaseConfig = BaseConfig, const TConfigNames extends string = BaseConfigNames>(...configs: ResolvableFlatConfig<TConfig>[]): eslint_flat_config_utils0$1.FlatConfigComposer<eslint3.Linter.Config<eslint3.Linter.RulesRecord> extends TConfig ? TConfig : eslint3.Linter.Config<eslint3.Linter.RulesRecord>, TConfigNames>;
16
16
  //#endregion
17
17
  //#region src/index.d.ts
18
- declare function danielwaltz<const TConfig extends BaseConfig = BaseConfig, const TConfigNames extends string = BaseConfigNames>(...params: Parameters<typeof sxzz>): eslint_flat_config_utils4.FlatConfigComposer<eslint0.Linter.Config<eslint0.Linter.RulesRecord> extends TConfig ? TConfig : eslint0.Linter.Config<eslint0.Linter.RulesRecord>, TConfigNames>;
18
+ declare function danielwaltz<const TConfig extends BaseConfig = BaseConfig, const TConfigNames extends string = BaseConfigNames>(...params: Parameters<typeof sxzz>): eslint_flat_config_utils0.FlatConfigComposer<eslint0.Linter.Config<eslint0.Linter.RulesRecord> extends TConfig ? TConfig : eslint0.Linter.Config<eslint0.Linter.RulesRecord>, TConfigNames>;
19
19
  //#endregion
20
- export { DefaultConfigNamesMap, danielwaltz, defineFlatConfig, defineFlatConfigs };
20
+ export { type DefaultConfigNamesMap, danielwaltz, defineFlatConfig, defineFlatConfigs };
package/dist/index.mjs CHANGED
@@ -83,6 +83,8 @@ function vueConfigs() {
83
83
  "vue/no-empty-component-block": "error",
84
84
  "vue/no-import-compiler-macros": "error",
85
85
  "vue/no-multiple-objects-in-class": "error",
86
+ "vue/no-negated-condition": "error",
87
+ "vue/no-negated-v-if-condition": "error",
86
88
  "vue/no-ref-object-reactivity-loss": "error",
87
89
  "vue/no-required-prop-with-default": ["error", { autofix: true }],
88
90
  "vue/no-reserved-component-names": "error",
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@danielwaltz/eslint-config",
3
- "version": "2.5.1",
4
- "packageManager": "pnpm@10.13.1",
3
+ "version": "2.6.0",
4
+ "packageManager": "pnpm@10.14.0",
5
5
  "type": "module",
6
6
  "keywords": [
7
7
  "eslint-config"
@@ -33,24 +33,24 @@
33
33
  "type-check": "tsc --noEmit",
34
34
  "prepack": "pnpm build",
35
35
  "test": "pnpm prepack && pnpm lint && pnpm type-check && pnpx publint@latest && pnpx @arethetypeswrong/cli@latest --pack --profile esm-only",
36
- "release": "pnpm test && changelogen --release --push --publish"
36
+ "release": "changelogen --release --push --publish"
37
37
  },
38
38
  "peerDependencies": {
39
39
  "eslint": ">=9",
40
40
  "prettier": ">=3"
41
41
  },
42
42
  "dependencies": {
43
- "@sxzz/eslint-config": "^7.0.6",
44
- "eslint-flat-config-utils": "^2.1.0",
43
+ "@sxzz/eslint-config": "^7.1.2",
44
+ "eslint-flat-config-utils": "^2.1.1",
45
45
  "eslint-plugin-depend": "^1.2.0",
46
46
  "eslint-plugin-erasable-syntax-only": "^0.3.1",
47
47
  "eslint-plugin-vuejs-accessibility": "^2.4.1"
48
48
  },
49
49
  "devDependencies": {
50
50
  "@tsconfig/node22": "^22.0.2",
51
- "@types/node": "~22.15.35",
51
+ "@types/node": "~22.17.0",
52
52
  "changelogen": "^0.6.2",
53
53
  "obuild": "^0.2.1",
54
- "typescript": "~5.8.3"
54
+ "typescript": "~5.9.2"
55
55
  }
56
56
  }