@pobammer-ts/small-rules 2.4.1 → 2.5.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/dist/index.d.ts +13 -0
- package/dist/index.js +13 -27332
- package/package.json +57 -57
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@pobammer-ts/small-rules",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.5.0",
|
|
4
4
|
"description": "Various Oxlint-native rules for linting roblox-ts projects.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"lint",
|
|
@@ -39,19 +39,19 @@
|
|
|
39
39
|
"biome": "biome",
|
|
40
40
|
"build": "tsdown",
|
|
41
41
|
"build-json": "bun run scripts/generate-default-properties.ts",
|
|
42
|
-
"build:local": "
|
|
43
|
-
"build:local:dev": "
|
|
42
|
+
"build:local": "node --run build -- --minify && cp dist/index.js plugins/small-rules.js",
|
|
43
|
+
"build:local:dev": "node --run build && cp dist/index.js plugins/small-rules.js",
|
|
44
44
|
"changelogithub": "changelogithub",
|
|
45
45
|
"commitlint": "commitlint",
|
|
46
|
-
"format": "bash -c 'a=$(bash scripts/get-defaults.sh \"$@\");
|
|
47
|
-
"format:check": "bash -c 'a=$(bash scripts/get-defaults.sh \"$@\");
|
|
48
|
-
"format:safe": "bash -c 'a=$(bash scripts/get-defaults.sh \"$@\");
|
|
46
|
+
"format": "bash -c 'a=$(bash scripts/get-defaults.sh \"$@\"); node --run biome -- check --fix $a && node --run oxfmt -- $a' _",
|
|
47
|
+
"format:check": "bash -c 'a=$(bash scripts/get-defaults.sh \"$@\"); node --run biome -- check --no-errors-on-unmatched $a && node --run oxfmt -- --no-error-on-unmatched-pattern --check $a' _",
|
|
48
|
+
"format:safe": "bash -c 'a=$(bash scripts/get-defaults.sh \"$@\"); node --run biome -- check --no-errors-on-unmatched --fix $a && node --run oxfmt -- --no-error-on-unmatched-pattern $a' _",
|
|
49
49
|
"hooks:install": "hk install --mise",
|
|
50
50
|
"hooks:validate": "hk validate",
|
|
51
51
|
"jscpd": "jscpd",
|
|
52
52
|
"knip": "knip-bun",
|
|
53
|
-
"lint": "bash -c 'a=$(bash scripts/get-defaults.sh \"$@\");
|
|
54
|
-
"lint:agent": "bash -c 'a=$(bash scripts/get-defaults.sh \"$@\");
|
|
53
|
+
"lint": "bash -c 'a=$(bash scripts/get-defaults.sh \"$@\"); node --run oxlint -- --no-error-on-unmatched-pattern $a && node --run biome -- check --no-errors-on-unmatched $a' _",
|
|
54
|
+
"lint:agent": "bash -c 'a=$(bash scripts/get-defaults.sh \"$@\"); node --run oxlint -- --no-error-on-unmatched-pattern --format agent $a && node --run biome -- check --no-errors-on-unmatched --reporter concise $a' _",
|
|
55
55
|
"lint:json": "bun run --bun scripts/lint-json.ts",
|
|
56
56
|
"oxfmt": "oxfmt",
|
|
57
57
|
"oxlint": "oxlint",
|
|
@@ -68,56 +68,56 @@
|
|
|
68
68
|
"type-check:agent": "tsgo --noEmit --pretty false"
|
|
69
69
|
},
|
|
70
70
|
"dependencies": {
|
|
71
|
-
"arktype": "
|
|
72
|
-
"ignore": "
|
|
73
|
-
"minimatch": "
|
|
74
|
-
"oxc-parser": "
|
|
75
|
-
"oxc-resolver": "
|
|
76
|
-
"oxlint-plugin-utilities": "
|
|
71
|
+
"arktype": "catalog:prod",
|
|
72
|
+
"ignore": "catalog:prod",
|
|
73
|
+
"minimatch": "catalog:prod",
|
|
74
|
+
"oxc-parser": "catalog:prod",
|
|
75
|
+
"oxc-resolver": "catalog:prod",
|
|
76
|
+
"oxlint-plugin-utilities": "catalog:prod"
|
|
77
77
|
},
|
|
78
78
|
"devDependencies": {
|
|
79
|
-
"@
|
|
80
|
-
"@
|
|
81
|
-
"@
|
|
82
|
-
"@commitlint/
|
|
83
|
-
"@
|
|
84
|
-
"@
|
|
85
|
-
"@
|
|
86
|
-
"@
|
|
87
|
-
"@stryker-mutator/
|
|
88
|
-
"@stryker-mutator/
|
|
89
|
-
"@
|
|
90
|
-
"@
|
|
91
|
-
"@types/
|
|
92
|
-
"@
|
|
93
|
-
"@
|
|
94
|
-
"@
|
|
95
|
-
"@vitiate/
|
|
96
|
-
"
|
|
97
|
-
"
|
|
98
|
-
"
|
|
99
|
-
"
|
|
100
|
-
"eslint": "
|
|
101
|
-
"eslint-plugin-
|
|
102
|
-
"eslint-plugin-
|
|
103
|
-
"eslint-plugin-
|
|
104
|
-
"
|
|
105
|
-
"
|
|
106
|
-
"
|
|
107
|
-
"
|
|
108
|
-
"
|
|
109
|
-
"
|
|
110
|
-
"
|
|
111
|
-
"
|
|
112
|
-
"oxlint": "
|
|
113
|
-
"
|
|
114
|
-
"
|
|
115
|
-
"
|
|
116
|
-
"
|
|
117
|
-
"
|
|
118
|
-
"
|
|
119
|
-
"
|
|
120
|
-
"
|
|
79
|
+
"@biomejs/biome": "catalog:lint",
|
|
80
|
+
"@cliffy/command": "catalog:dev",
|
|
81
|
+
"@commitlint/config-conventional": "catalog:dev",
|
|
82
|
+
"@commitlint/types": "catalog:dev",
|
|
83
|
+
"@fast-check/vitest": "catalog:test",
|
|
84
|
+
"@octokit/rest": "catalog:dev",
|
|
85
|
+
"@std/msgpack": "catalog:dev",
|
|
86
|
+
"@stryker-mutator/api": "catalog:dev",
|
|
87
|
+
"@stryker-mutator/core": "catalog:dev",
|
|
88
|
+
"@stryker-mutator/vitest-runner": "catalog:test",
|
|
89
|
+
"@total-typescript/ts-reset": "catalog:dev",
|
|
90
|
+
"@types/bun": "catalog:types",
|
|
91
|
+
"@types/node": "catalog:types",
|
|
92
|
+
"@typescript/native-preview": "catalog:dev",
|
|
93
|
+
"@vitest/coverage-v8": "catalog:test",
|
|
94
|
+
"@vitiate/core": "catalog:dev",
|
|
95
|
+
"@vitiate/fuzzed-data-provider": "catalog:dev",
|
|
96
|
+
"bumpp": "catalog:dev",
|
|
97
|
+
"changelogithub": "catalog:dev",
|
|
98
|
+
"commitlint": "catalog:dev",
|
|
99
|
+
"eslint": "catalog:lint",
|
|
100
|
+
"eslint-plugin-antfu": "catalog:lint",
|
|
101
|
+
"eslint-plugin-regexp": "catalog:lint",
|
|
102
|
+
"eslint-plugin-sonarjs": "catalog:lint",
|
|
103
|
+
"eslint-plugin-unused-imports": "catalog:lint",
|
|
104
|
+
"fast-check": "catalog:dev",
|
|
105
|
+
"fdir": "catalog:dev",
|
|
106
|
+
"get-tsconfig": "catalog:dev",
|
|
107
|
+
"jiti": "catalog:dev",
|
|
108
|
+
"jscpd": "catalog:dev",
|
|
109
|
+
"knip": "catalog:lint",
|
|
110
|
+
"oxfmt": "catalog:dev",
|
|
111
|
+
"oxlint": "catalog:dev",
|
|
112
|
+
"oxlint-tsgolint": "catalog:dev",
|
|
113
|
+
"pncat": "catalog:dev",
|
|
114
|
+
"sfw": "catalog:dev",
|
|
115
|
+
"skills": "catalog:dev",
|
|
116
|
+
"tsdown": "catalog:build",
|
|
117
|
+
"type-fest": "catalog:dev",
|
|
118
|
+
"vitest": "catalog:test",
|
|
119
|
+
"vitiate": "catalog:dev",
|
|
120
|
+
"zx": "catalog:dev"
|
|
121
121
|
},
|
|
122
122
|
"peerDependencies": {
|
|
123
123
|
"typescript": ">=5 <8"
|
|
@@ -125,5 +125,5 @@
|
|
|
125
125
|
"engines": {
|
|
126
126
|
"node": "^20.19.0 || >=22.12.0"
|
|
127
127
|
},
|
|
128
|
-
"packageManager": "
|
|
128
|
+
"packageManager": "pnpm@11.10.0"
|
|
129
129
|
}
|