@utilfirst/eslint-plugin 0.1.0 → 0.2.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,7 +1,7 @@
1
1
  {
2
2
  "name": "@utilfirst/eslint-plugin",
3
- "version": "0.1.0",
4
- "description": "Shared ESLint rules for utilfirst projects",
3
+ "version": "0.2.0",
4
+ "description": "Shared lint rules for ESLint and Oxlint",
5
5
  "keywords": [
6
6
  "eslint",
7
7
  "eslintplugin",
@@ -28,36 +28,24 @@
28
28
  "files": [
29
29
  "dist"
30
30
  ],
31
- "scripts": {
32
- "build": "tsdown",
33
- "fix": "pnpm run --sequential '/^fix:[^:]+$/'",
34
- "fix:eslint": "pnpm run lint:eslint --fix",
35
- "fix:prettier": "pnpm run lint:prettier --write",
36
- "lint": "pnpm run --sequential '/^lint:[^:]+$/'",
37
- "lint:eslint": "eslint .",
38
- "lint:prettier": "prettier --check .",
39
- "lint:publint": "publint",
40
- "lint:typecheck": "tsc --pretty --noEmit",
41
- "prepack": "pnpm run build",
42
- "setup-hooks": "simple-git-hooks",
43
- "test": "vitest run"
44
- },
45
31
  "simple-git-hooks": {
46
- "pre-commit": "pnpm exec lint-staged && pnpm run lint:typecheck"
47
- },
48
- "lint-staged": {
49
- "*": "prettier --ignore-unknown --write",
50
- "*.{js,cjs,mjs,ts,tsx}": "eslint --fix"
32
+ "pre-commit": "pnpm exec lint-staged --concurrent false"
51
33
  },
52
34
  "dependencies": {
53
- "@typescript-eslint/utils": "^8.59.3"
35
+ "@oxlint/plugins": "1.78.0",
36
+ "@typescript-eslint/utils": "^8.59.3",
37
+ "zod": "^4.4.3"
54
38
  },
55
39
  "devDependencies": {
56
- "@eslint/js": "^10.0.1",
57
- "@types/node": "^25.9.1",
40
+ "@types/node": "^24.13.3",
58
41
  "@typescript-eslint/rule-tester": "^8.59.3",
59
- "eslint": "^10.3.0",
42
+ "@utilfirst/prettier-plugin": "^0.1.0",
43
+ "@vitest/coverage-v8": "^4.1.7",
44
+ "changelogithub": "15.0.4",
45
+ "eslint": "^10.8.1",
60
46
  "lint-staged": "^17.0.4",
47
+ "oxlint": "1.78.0",
48
+ "oxlint-tsgolint": "7.0.2001",
61
49
  "prettier": "^3.8.3",
62
50
  "prettier-plugin-organize-imports": "^4.3.0",
63
51
  "prettier-plugin-packagejson": "^3.0.2",
@@ -71,14 +59,28 @@
71
59
  "vitest": "^4.0.7"
72
60
  },
73
61
  "peerDependencies": {
74
- "eslint": "^9.0.0 || ^10.0.0"
62
+ "eslint": "^10.0.0"
75
63
  },
76
- "packageManager": "pnpm@11.0.9",
77
64
  "engines": {
78
- "node": ">=20.19.0"
65
+ "node": ">=24.11.0"
79
66
  },
80
67
  "publishConfig": {
81
68
  "access": "public",
82
69
  "provenance": true
70
+ },
71
+ "scripts": {
72
+ "build": "tsdown",
73
+ "fix": "pnpm run --sequential '/^fix:[^:]+$/'",
74
+ "fix:oxlint": "oxlint . --fix",
75
+ "fix:prettier": "pnpm run lint:prettier --write",
76
+ "lint": "pnpm run --sequential '/^lint:[^:]+$/'",
77
+ "lint:oxlint": "oxlint .",
78
+ "lint:prettier": "prettier --check .",
79
+ "lint:publint": "publint",
80
+ "release-check-tag": "node scripts/check-release-tag.mjs",
81
+ "setup-hooks": "simple-git-hooks",
82
+ "test": "pnpm run test-unit && pnpm run test-package",
83
+ "test-package": "node scripts/test-package.mjs",
84
+ "test-unit": "vitest run"
83
85
  }
84
- }
86
+ }