@alextheman/eslint-plugin 4.2.5 → 4.4.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,6 +1,6 @@
1
1
  {
2
2
  "name": "@alextheman/eslint-plugin",
3
- "version": "4.2.5",
3
+ "version": "4.4.0",
4
4
  "description": "A package to provide custom ESLint rules and configs",
5
5
  "repository": {
6
6
  "type": "git",
@@ -14,45 +14,19 @@
14
14
  "files": [
15
15
  "dist"
16
16
  ],
17
- "scripts": {
18
- "build": "tsdown && tsx src/utility/hashConfigChanges.ts",
19
- "change-major": "npm version major -m \"Change version number to v%s\"",
20
- "change-minor": "npm version minor -m \"Change version number to v%s\"",
21
- "change-patch": "npm version patch -m \"Change version number to v%s\"",
22
- "create-local-package": "npm run build && rm -f alextheman-eslint-plugin-*.tgz && npm pack",
23
- "format": "npm run format-prettier && npm run format-eslint",
24
- "format-and-build": "tsx src/utility/checkConfigChanges.ts || npm run build && npm run format",
25
- "format-eslint": "eslint --fix --suppress-all \"src/**/*.ts\" \"tests/**/*.ts\" \"package.json\" && rm -f eslint-suppressions.json",
26
- "format-prettier": "npm run format-prettier-typescript && npm run format-prettier-javascript",
27
- "format-prettier-javascript": "prettier --write \"./**/*.js\"",
28
- "format-prettier-typescript": "prettier --write --parser typescript \"./**/*.ts\"",
29
- "lint": "npm run lint-tsc && npm run lint-eslint && npm run lint-prettier",
30
- "lint-and-build": "tsx src/utility/checkConfigChanges.ts || npm run build && npm run lint",
31
- "lint-eslint": "eslint \"src/**/*.ts\" \"tests/**/*.ts\" \"package.json\"",
32
- "lint-prettier": "npm run lint-prettier-typescript && npm run lint-prettier-javascript",
33
- "lint-prettier-javascript": "prettier --check \"./**/*.js\"",
34
- "lint-prettier-typescript": "prettier --check --parser typescript \"./**/*.ts\"",
35
- "lint-tsc": "tsc --noEmit",
36
- "prepare": "husky",
37
- "test": "vitest run",
38
- "test-watch": "vitest",
39
- "update-dependencies": "bash -c 'npx npm-check-updates -u \"$@\" && npm install' --",
40
- "update-peer-dependencies": "bash -c 'npx npm-check-updates --dep peer -u \"$@\" && npm install' --",
41
- "use-live-utility": "npm uninstall @alextheman/utility && npm install @alextheman/utility",
42
- "use-local-utility": "dotenv -e .env -- sh -c 'UTILITY_PATH=${LOCAL_UTILITY_PATH:-../utility}; npm --prefix \"$UTILITY_PATH\" run create-local-package && npm uninstall @alextheman/eslint-plugin && npm install \"$UTILITY_PATH\"/alextheman-utility-*.tgz'"
43
- },
44
17
  "dependencies": {
45
- "@alextheman/utility": "^3.4.0",
46
- "@typescript-eslint/utils": "^8.48.0",
18
+ "@alextheman/utility": "^3.4.2",
19
+ "@typescript-eslint/utils": "^8.48.1",
47
20
  "common-tags": "^1.8.2",
48
21
  "zod": "^4.1.13"
49
22
  },
50
23
  "devDependencies": {
24
+ "@eslint/js": "^9.39.1",
51
25
  "@types/common-tags": "^1.8.4",
52
26
  "@types/eslint": "^9.6.1",
53
27
  "@types/eslint-plugin-jsx-a11y": "^6.10.1",
54
28
  "@types/node": "^24.10.1",
55
- "@typescript-eslint/rule-tester": "^8.48.0",
29
+ "@typescript-eslint/rule-tester": "^8.48.1",
56
30
  "dotenv-cli": "^11.0.0",
57
31
  "eslint": "^9.39.1",
58
32
  "eslint-config-prettier": "^10.1.8",
@@ -69,15 +43,16 @@
69
43
  "globals": "^16.5.0",
70
44
  "husky": "^9.1.7",
71
45
  "jsdom": "^27.2.0",
72
- "prettier": "^3.7.2",
73
- "tsdown": "^0.16.8",
74
- "tsx": "^4.20.6",
46
+ "prettier": "^3.7.4",
47
+ "tsdown": "^0.17.0",
48
+ "tsx": "^4.21.0",
75
49
  "typescript": "^5.9.3",
76
- "typescript-eslint": "^8.48.0",
50
+ "typescript-eslint": "^8.48.1",
77
51
  "vite-tsconfig-paths": "^5.1.4",
78
- "vitest": "^4.0.14"
52
+ "vitest": "^4.0.15"
79
53
  },
80
54
  "peerDependencies": {
55
+ "@eslint/js": ">=9.0.0",
81
56
  "eslint": ">=9.0.0",
82
57
  "eslint-config-prettier": ">=10.0.0",
83
58
  "eslint-import-resolver-typescript": ">=4.0.0",
@@ -92,5 +67,30 @@
92
67
  "typescript-eslint": ">=8.0.0",
93
68
  "vite-tsconfig-paths": ">=5.1.4",
94
69
  "vitest": ">=4.0.13"
70
+ },
71
+ "scripts": {
72
+ "build": "tsdown && tsx src/utility/hashConfigChanges.ts",
73
+ "change-major": "pnpm version major -m \"Change version number to v%s\"",
74
+ "change-minor": "pnpm version minor -m \"Change version number to v%s\"",
75
+ "change-patch": "pnpm version patch -m \"Change version number to v%s\"",
76
+ "create-local-package": "pnpm run build && rm -f alextheman-eslint-plugin-*.tgz && pnpm pack",
77
+ "format": "pnpm run format-prettier && pnpm run format-eslint",
78
+ "format-and-build": "tsx src/utility/checkConfigChanges.ts || pnpm run build && pnpm run format",
79
+ "format-eslint": "eslint --fix --suppress-all \"src/**/*.ts\" \"tests/**/*.ts\" \"package.json\" && rm -f eslint-suppressions.json",
80
+ "format-prettier": "pnpm run format-prettier-typescript && pnpm run format-prettier-javascript",
81
+ "format-prettier-javascript": "prettier --write \"./**/*.js\"",
82
+ "format-prettier-typescript": "prettier --write --parser typescript \"./**/*.ts\"",
83
+ "lint": "pnpm run lint-tsc && pnpm run lint-eslint && pnpm run lint-prettier",
84
+ "lint-and-build": "tsx src/utility/checkConfigChanges.ts || pnpm run build && pnpm run lint",
85
+ "lint-eslint": "eslint \"src/**/*.ts\" \"tests/**/*.ts\" \"package.json\"",
86
+ "lint-prettier": "pnpm run lint-prettier-typescript && pnpm run lint-prettier-javascript",
87
+ "lint-prettier-javascript": "prettier --check \"./**/*.js\"",
88
+ "lint-prettier-typescript": "prettier --check --parser typescript \"./**/*.ts\"",
89
+ "lint-tsc": "tsc --noEmit",
90
+ "test": "vitest run",
91
+ "test-watch": "vitest",
92
+ "update-dependencies": "pnpm update --latest && pnpm update",
93
+ "use-live-utility": "pnpm uninstall @alextheman/utility && pnpm install @alextheman/utility",
94
+ "use-local-utility": "dotenv -e .env -- sh -c 'UTILITY_PATH=${LOCAL_UTILITY_PATH:-../utility}; pnpm --dir \"$UTILITY_PATH\" run create-local-package && pnpm uninstall @alextheman/utility && pnpm install \"$UTILITY_PATH\"/alextheman-utility-*.tgz'"
95
95
  }
96
- }
96
+ }