@danielwaltz/eslint-config 2.5.0 → 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 +37 -0
- package/dist/index.d.mts +6 -6
- package/dist/index.mjs +2 -0
- package/package.json +8 -8
package/CHANGELOG.md
CHANGED
|
@@ -1,6 +1,43 @@
|
|
|
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
|
+
|
|
24
|
+
## v2.5.1
|
|
25
|
+
|
|
26
|
+
[compare changes](https://github.com/danielwaltz/eslint-config/compare/v2.5.0...v2.5.1)
|
|
27
|
+
|
|
28
|
+
### 🩹 Fixes
|
|
29
|
+
|
|
30
|
+
- Update sxzz config ([c03a79e](https://github.com/danielwaltz/eslint-config/commit/c03a79e))
|
|
31
|
+
|
|
32
|
+
### 🏡 Chore
|
|
33
|
+
|
|
34
|
+
- Refresh editorconfig ([9b2046c](https://github.com/danielwaltz/eslint-config/commit/9b2046c))
|
|
35
|
+
- Update node to `v22.17.0` ([9057a95](https://github.com/danielwaltz/eslint-config/commit/9057a95))
|
|
36
|
+
|
|
37
|
+
### ❤️ Contributors
|
|
38
|
+
|
|
39
|
+
- Daniel Waltz ([@danielwaltz](https://github.com/danielwaltz))
|
|
40
|
+
|
|
4
41
|
## v2.5.0
|
|
5
42
|
|
|
6
43
|
[compare changes](https://github.com/danielwaltz/eslint-config/compare/v2.4.0...v2.5.0)
|
package/dist/index.d.mts
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { sxzz } from "@sxzz/eslint-config";
|
|
2
|
-
import * as
|
|
3
|
-
import * as
|
|
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
|
|
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>[]):
|
|
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>):
|
|
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.
|
|
4
|
-
"packageManager": "pnpm@10.
|
|
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": "
|
|
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.
|
|
44
|
-
"eslint-flat-config-utils": "^2.1.
|
|
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.
|
|
52
|
-
"changelogen": "^0.6.
|
|
51
|
+
"@types/node": "~22.17.0",
|
|
52
|
+
"changelogen": "^0.6.2",
|
|
53
53
|
"obuild": "^0.2.1",
|
|
54
|
-
"typescript": "~5.
|
|
54
|
+
"typescript": "~5.9.2"
|
|
55
55
|
}
|
|
56
56
|
}
|