@utilfirst/eslint-plugin 0.1.1 → 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/LICENSE +27 -0
- package/README.md +108 -12
- package/dist/index.d.ts +9 -8
- package/dist/index.js +2010 -44
- package/package.json +19 -17
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@utilfirst/eslint-plugin",
|
|
3
|
-
"version": "0.
|
|
4
|
-
"description": "Shared
|
|
3
|
+
"version": "0.2.0",
|
|
4
|
+
"description": "Shared lint rules for ESLint and Oxlint",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"eslint",
|
|
7
7
|
"eslintplugin",
|
|
@@ -29,23 +29,23 @@
|
|
|
29
29
|
"dist"
|
|
30
30
|
],
|
|
31
31
|
"simple-git-hooks": {
|
|
32
|
-
"pre-commit": "pnpm exec lint-staged
|
|
33
|
-
},
|
|
34
|
-
"lint-staged": {
|
|
35
|
-
"*": "prettier --ignore-unknown --write",
|
|
36
|
-
"*.{js,cjs,mjs,ts,tsx}": "eslint --fix"
|
|
32
|
+
"pre-commit": "pnpm exec lint-staged --concurrent false"
|
|
37
33
|
},
|
|
38
34
|
"dependencies": {
|
|
39
|
-
"@
|
|
35
|
+
"@oxlint/plugins": "1.78.0",
|
|
36
|
+
"@typescript-eslint/utils": "^8.59.3",
|
|
37
|
+
"zod": "^4.4.3"
|
|
40
38
|
},
|
|
41
39
|
"devDependencies": {
|
|
42
|
-
"@
|
|
43
|
-
"@types/node": "^25.9.1",
|
|
40
|
+
"@types/node": "^24.13.3",
|
|
44
41
|
"@typescript-eslint/rule-tester": "^8.59.3",
|
|
45
42
|
"@utilfirst/prettier-plugin": "^0.1.0",
|
|
46
43
|
"@vitest/coverage-v8": "^4.1.7",
|
|
47
|
-
"
|
|
44
|
+
"changelogithub": "15.0.4",
|
|
45
|
+
"eslint": "^10.8.1",
|
|
48
46
|
"lint-staged": "^17.0.4",
|
|
47
|
+
"oxlint": "1.78.0",
|
|
48
|
+
"oxlint-tsgolint": "7.0.2001",
|
|
49
49
|
"prettier": "^3.8.3",
|
|
50
50
|
"prettier-plugin-organize-imports": "^4.3.0",
|
|
51
51
|
"prettier-plugin-packagejson": "^3.0.2",
|
|
@@ -59,10 +59,10 @@
|
|
|
59
59
|
"vitest": "^4.0.7"
|
|
60
60
|
},
|
|
61
61
|
"peerDependencies": {
|
|
62
|
-
"eslint": "^
|
|
62
|
+
"eslint": "^10.0.0"
|
|
63
63
|
},
|
|
64
64
|
"engines": {
|
|
65
|
-
"node": ">=
|
|
65
|
+
"node": ">=24.11.0"
|
|
66
66
|
},
|
|
67
67
|
"publishConfig": {
|
|
68
68
|
"access": "public",
|
|
@@ -71,14 +71,16 @@
|
|
|
71
71
|
"scripts": {
|
|
72
72
|
"build": "tsdown",
|
|
73
73
|
"fix": "pnpm run --sequential '/^fix:[^:]+$/'",
|
|
74
|
-
"fix:
|
|
74
|
+
"fix:oxlint": "oxlint . --fix",
|
|
75
75
|
"fix:prettier": "pnpm run lint:prettier --write",
|
|
76
76
|
"lint": "pnpm run --sequential '/^lint:[^:]+$/'",
|
|
77
|
-
"lint:
|
|
77
|
+
"lint:oxlint": "oxlint .",
|
|
78
78
|
"lint:prettier": "prettier --check .",
|
|
79
79
|
"lint:publint": "publint",
|
|
80
|
-
"
|
|
80
|
+
"release-check-tag": "node scripts/check-release-tag.mjs",
|
|
81
81
|
"setup-hooks": "simple-git-hooks",
|
|
82
|
-
"test": "
|
|
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
|
}
|