@utilfirst/eslint-plugin 0.3.0 → 0.4.1

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": "@utilfirst/eslint-plugin",
3
- "version": "0.3.0",
3
+ "version": "0.4.1",
4
4
  "description": "Shared lint rules for ESLint and Oxlint",
5
5
  "keywords": [
6
6
  "eslint",
@@ -21,6 +21,10 @@
21
21
  "types": "./dist/index.d.ts",
22
22
  "default": "./dist/index.js"
23
23
  },
24
+ "./oxlint": {
25
+ "types": "./dist/oxlint.d.ts",
26
+ "default": "./dist/oxlint.js"
27
+ },
24
28
  "./package.json": "./package.json"
25
29
  },
26
30
  "main": "./dist/index.js",
@@ -28,9 +32,6 @@
28
32
  "files": [
29
33
  "dist"
30
34
  ],
31
- "simple-git-hooks": {
32
- "pre-commit": "pnpm exec lint-staged --concurrent false"
33
- },
34
35
  "dependencies": {
35
36
  "@oxlint/plugins": "1.78.0",
36
37
  "@typescript-eslint/utils": "^8.59.3",
@@ -43,7 +44,6 @@
43
44
  "@vitest/coverage-v8": "^4.1.7",
44
45
  "changelogithub": "15.0.4",
45
46
  "eslint": "^10.8.1",
46
- "lint-staged": "^17.0.4",
47
47
  "oxlint": "1.78.0",
48
48
  "oxlint-tsgolint": "7.0.2001",
49
49
  "prettier": "^3.8.3",
@@ -52,14 +52,19 @@
52
52
  "prettier-plugin-sh": "^0.18.1",
53
53
  "prettier-plugin-sort-json": "^4.2.0",
54
54
  "publint": "^0.3.16",
55
- "simple-git-hooks": "^2.13.1",
56
55
  "tsdown": "^0.18.4",
57
56
  "typescript": "^6.0.3",
58
57
  "typescript-eslint": "^8.59.3",
59
58
  "vitest": "^4.0.7"
60
59
  },
61
60
  "peerDependencies": {
62
- "eslint": "^10.0.0"
61
+ "eslint": "^10.0.0",
62
+ "oxlint": ">=1.78.0 <2"
63
+ },
64
+ "peerDependenciesMeta": {
65
+ "oxlint": {
66
+ "optional": true
67
+ }
63
68
  },
64
69
  "engines": {
65
70
  "node": ">=24.11.0"
@@ -78,7 +83,6 @@
78
83
  "lint:prettier": "prettier --check .",
79
84
  "lint:publint": "publint",
80
85
  "release-check-tag": "node scripts/check-release-tag.mjs",
81
- "setup-hooks": "simple-git-hooks",
82
86
  "test": "pnpm run test-unit && pnpm run test-package",
83
87
  "test-package": "node scripts/test-package.mjs",
84
88
  "test-unit": "vitest run"