@danielwaltz/eslint-config 3.6.1 → 3.6.8

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/dist/index.d.mts CHANGED
@@ -2,7 +2,6 @@ import { sxzz } from "@sxzz/eslint-config";
2
2
  import { DefaultConfigNamesMap, DefaultConfigNamesMap as DefaultConfigNamesMap$1, FlatConfigComposer, ResolvableFlatConfig, defineFlatConfig } from "eslint-flat-config-utils";
3
3
  import { Linter } from "eslint";
4
4
  export * from "@sxzz/eslint-config";
5
-
6
5
  //#region src/types.d.ts
7
6
  type BaseConfig = Linter.Config;
8
7
  type BaseConfigNames = keyof DefaultConfigNamesMap$1;
package/dist/index.mjs CHANGED
@@ -1,7 +1,8 @@
1
1
  import { baseline, hasVue, sxzz } from "@sxzz/eslint-config";
2
2
  import e18e from "@e18e/eslint-plugin";
3
- import erasableSyntaxOnlyPlugin from "eslint-plugin-erasable-syntax-only";
4
- import vueA11yPlugin from "eslint-plugin-vuejs-accessibility";
3
+ import erasableSyntaxOnly from "eslint-plugin-erasable-syntax-only";
4
+ import unicorn from "eslint-plugin-unicorn";
5
+ import vueA11y from "eslint-plugin-vuejs-accessibility";
5
6
  import { composer, defineFlatConfig } from "eslint-flat-config-utils";
6
7
  export * from "@sxzz/eslint-config";
7
8
  //#region src/configs/e18e.ts
@@ -16,7 +17,7 @@ function e18eConfigs() {
16
17
  function typescriptConfigs() {
17
18
  return [{
18
19
  name: "danielwaltz/erasable-syntax-only",
19
- ...erasableSyntaxOnlyPlugin.configs.recommended
20
+ ...erasableSyntaxOnly.configs.recommended
20
21
  }];
21
22
  }
22
23
  //#endregion
@@ -25,6 +26,7 @@ const FILENAME_CASE_IGNORE_REGEXES = [/^[A-Z]+\..*$/, /import_map\.json/];
25
26
  function unicornConfigs() {
26
27
  return [{
27
28
  name: "danielwaltz/unicorn",
29
+ plugins: { unicorn },
28
30
  rules: { "unicorn/filename-case": ["error", {
29
31
  cases: {
30
32
  camelCase: true,
@@ -39,7 +41,7 @@ function unicornConfigs() {
39
41
  //#region src/configs/vue.ts
40
42
  function vueConfigs() {
41
43
  return [
42
- ...vueA11yPlugin.configs["flat/recommended"],
44
+ ...vueA11y.configs["flat/recommended"],
43
45
  {
44
46
  name: "danielwaltz/vue",
45
47
  files: ["**/*.vue"],
package/package.json CHANGED
@@ -1,8 +1,7 @@
1
1
  {
2
2
  "name": "@danielwaltz/eslint-config",
3
3
  "type": "module",
4
- "version": "3.6.1",
5
- "packageManager": "pnpm@11.9.0",
4
+ "version": "3.6.8",
6
5
  "author": "Daniel Waltz",
7
6
  "license": "MIT",
8
7
  "repository": {
@@ -24,37 +23,45 @@
24
23
  "provenance": true,
25
24
  "registry": "https://registry.npmjs.org/"
26
25
  },
27
- "scripts": {
28
- "build": "tsdown",
29
- "lint": "eslint",
30
- "lint:fix": "eslint --fix",
31
- "prepack": "pnpm build",
32
- "release": "changelogen --release --push --publish",
33
- "test": "pnpm prepack && pnpm lint && pnpm type-check && pnpm test:publish",
34
- "test:attw": "pnpm dlx @arethetypeswrong/cli --pack --profile esm-only",
35
- "test:publint": "pnpm dlx publint",
36
- "test:publish": "pnpm test:attw && pnpm test:publint",
37
- "type-check": "tsc --noEmit"
38
- },
39
26
  "peerDependencies": {
40
27
  "eslint": ">=9",
41
28
  "prettier": ">=3"
42
29
  },
43
30
  "dependencies": {
44
- "@e18e/eslint-plugin": "^0.5.1",
45
- "@sxzz/eslint-config": "^8.2.1",
31
+ "@e18e/eslint-plugin": "^0.6.0",
32
+ "@sxzz/eslint-config": "^8.3.1",
46
33
  "eslint-flat-config-utils": "^3.2.0",
47
34
  "eslint-plugin-erasable-syntax-only": "^0.4.2",
35
+ "eslint-plugin-unicorn": "^72.0.0",
48
36
  "eslint-plugin-vuejs-accessibility": "^2.5.0"
49
37
  },
50
38
  "devDependencies": {
51
39
  "@tsconfig/node24": "^24.0.4",
52
- "@types/node": "~24.13.2",
40
+ "@types/node": "~24.13.3",
53
41
  "changelogen": "^0.6.2",
54
- "eslint": "^10.6.0",
42
+ "eslint": "^10.8.0",
55
43
  "jiti": "^2.7.0",
56
- "prettier": "^3.8.5",
57
- "tsdown": "^0.22.3",
44
+ "prettier": "^3.9.6",
45
+ "tsdown": "^0.22.14",
58
46
  "typescript": "~6.0.3"
47
+ },
48
+ "devEngines": {
49
+ "packageManager": {
50
+ "name": "pnpm",
51
+ "version": "11.9.0",
52
+ "onFail": "warn"
53
+ },
54
+ "runtime": {
55
+ "name": "node",
56
+ "version": "24.18.0"
57
+ }
58
+ },
59
+ "scripts": {
60
+ "build": "tsdown",
61
+ "lint": "eslint",
62
+ "lint:fix": "eslint --fix",
63
+ "release": "changelogen --release --push && pnpm publish",
64
+ "test": "pnpm prepack && pnpm lint && pnpm type-check",
65
+ "type-check": "tsc --noEmit"
59
66
  }
60
- }
67
+ }