@pobammer-ts/small-rules 2.4.1 → 2.5.2
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 +128 -128
package/package.json
CHANGED
|
@@ -1,129 +1,129 @@
|
|
|
1
1
|
{
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
}
|
|
2
|
+
"name": "@pobammer-ts/small-rules",
|
|
3
|
+
"version": "2.5.2",
|
|
4
|
+
"description": "Various Oxlint-native rules for linting roblox-ts projects.",
|
|
5
|
+
"keywords": [
|
|
6
|
+
"lint",
|
|
7
|
+
"linter",
|
|
8
|
+
"linting",
|
|
9
|
+
"oxlint",
|
|
10
|
+
"roblox-ts",
|
|
11
|
+
"typescript"
|
|
12
|
+
],
|
|
13
|
+
"homepage": "https://github.com/howmanysmall/small-rules#readme",
|
|
14
|
+
"bugs": {
|
|
15
|
+
"url": "https://github.com/howmanysmall/small-rules/issues"
|
|
16
|
+
},
|
|
17
|
+
"license": "MIT",
|
|
18
|
+
"author": "HowManySmall",
|
|
19
|
+
"repository": {
|
|
20
|
+
"type": "git",
|
|
21
|
+
"url": "git+https://github.com/howmanysmall/small-rules.git"
|
|
22
|
+
},
|
|
23
|
+
"files": [
|
|
24
|
+
"dist"
|
|
25
|
+
],
|
|
26
|
+
"type": "module",
|
|
27
|
+
"sideEffects": false,
|
|
28
|
+
"exports": {
|
|
29
|
+
".": {
|
|
30
|
+
"default": "./dist/index.js",
|
|
31
|
+
"types": "./dist/index.d.ts"
|
|
32
|
+
},
|
|
33
|
+
"./package.json": "./package.json"
|
|
34
|
+
},
|
|
35
|
+
"publishConfig": {
|
|
36
|
+
"access": "public"
|
|
37
|
+
},
|
|
38
|
+
"dependencies": {
|
|
39
|
+
"arktype": "2.2.3",
|
|
40
|
+
"ignore": "7.0.6",
|
|
41
|
+
"minimatch": "10.2.5",
|
|
42
|
+
"oxc-parser": "0.139.0",
|
|
43
|
+
"oxc-resolver": "11.23.0",
|
|
44
|
+
"oxlint-plugin-utilities": "1.1.0"
|
|
45
|
+
},
|
|
46
|
+
"devDependencies": {
|
|
47
|
+
"@biomejs/biome": "2.5.3",
|
|
48
|
+
"@cliffy/command": "npm:@jsr/cliffy__command@1.2.1",
|
|
49
|
+
"@commitlint/config-conventional": "21.2.0",
|
|
50
|
+
"@commitlint/types": "21.2.0",
|
|
51
|
+
"@fast-check/vitest": "0.4.1",
|
|
52
|
+
"@octokit/rest": "22.0.1",
|
|
53
|
+
"@std/msgpack": "npm:@jsr/std__msgpack@1.0.3",
|
|
54
|
+
"@stryker-mutator/api": "9.6.1",
|
|
55
|
+
"@stryker-mutator/core": "9.6.1",
|
|
56
|
+
"@stryker-mutator/vitest-runner": "9.6.1",
|
|
57
|
+
"@total-typescript/ts-reset": "0.6.1",
|
|
58
|
+
"@types/bun": "1.3.14",
|
|
59
|
+
"@types/node": "25",
|
|
60
|
+
"@typescript/native-preview": "7.0.0-dev.20260707.2",
|
|
61
|
+
"@vitest/coverage-v8": "4.1.10",
|
|
62
|
+
"@vitiate/core": "0.3.1",
|
|
63
|
+
"@vitiate/fuzzed-data-provider": "0.3.1",
|
|
64
|
+
"bumpp": "11.1.0",
|
|
65
|
+
"changelogithub": "14.0.0",
|
|
66
|
+
"commitlint": "21.2.1",
|
|
67
|
+
"confbox": "0.2.4",
|
|
68
|
+
"eslint": "10.7.0",
|
|
69
|
+
"eslint-plugin-antfu": "3.2.3",
|
|
70
|
+
"eslint-plugin-regexp": "3.1.1",
|
|
71
|
+
"eslint-plugin-sonarjs": "4.1.0",
|
|
72
|
+
"eslint-plugin-unused-imports": "4.4.1",
|
|
73
|
+
"fast-check": "4.9.0",
|
|
74
|
+
"fdir": "6.5.0",
|
|
75
|
+
"get-tsconfig": "4.14.0",
|
|
76
|
+
"jiti": "2.7.0",
|
|
77
|
+
"jscpd": "5.0.12",
|
|
78
|
+
"knip": "6.26.0",
|
|
79
|
+
"oxfmt": "0.58.0",
|
|
80
|
+
"oxlint": "1.73.0",
|
|
81
|
+
"oxlint-tsgolint": "0.24.0",
|
|
82
|
+
"pncat": "0.12.0",
|
|
83
|
+
"sfw": "2.0.6",
|
|
84
|
+
"skills": "1.5.16",
|
|
85
|
+
"tsdown": "0.22.5",
|
|
86
|
+
"type-fest": "5.8.0",
|
|
87
|
+
"vitest": "4.1.10",
|
|
88
|
+
"vitiate": "0.3.1",
|
|
89
|
+
"zx": "8.8.5"
|
|
90
|
+
},
|
|
91
|
+
"peerDependencies": {
|
|
92
|
+
"typescript": ">=5 <8"
|
|
93
|
+
},
|
|
94
|
+
"engines": {
|
|
95
|
+
"node": "^20.19.0 || >=22.12.0"
|
|
96
|
+
},
|
|
97
|
+
"scripts": {
|
|
98
|
+
"biome": "biome",
|
|
99
|
+
"build": "tsdown",
|
|
100
|
+
"build-json": "bun run scripts/generate-default-properties.ts",
|
|
101
|
+
"build:local": "node --run build -- --minify && cp dist/index.js plugins/small-rules.js",
|
|
102
|
+
"build:local:dev": "node --run build && cp dist/index.js plugins/small-rules.js",
|
|
103
|
+
"changelogithub": "changelogithub",
|
|
104
|
+
"commitlint": "commitlint",
|
|
105
|
+
"format": "bash -c 'a=$(bash scripts/get-defaults.sh \"$@\"); node --run biome -- check --fix $a && node --run oxfmt -- $a' _",
|
|
106
|
+
"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' _",
|
|
107
|
+
"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' _",
|
|
108
|
+
"hooks:install": "hk install --mise",
|
|
109
|
+
"hooks:validate": "hk validate",
|
|
110
|
+
"jscpd": "jscpd",
|
|
111
|
+
"knip": "knip-bun",
|
|
112
|
+
"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' _",
|
|
113
|
+
"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' _",
|
|
114
|
+
"lint:json": "bun run --bun scripts/lint-json.ts",
|
|
115
|
+
"oxfmt": "oxfmt",
|
|
116
|
+
"oxlint": "oxlint",
|
|
117
|
+
"prepublish": "tsdown --minify",
|
|
118
|
+
"release": "bumpp",
|
|
119
|
+
"skills": "skills",
|
|
120
|
+
"test": "vitest run",
|
|
121
|
+
"test:agent": "vitest run --reporter agent",
|
|
122
|
+
"test:fuzz": "vitiate regression --config vitest.vitiate.config.ts",
|
|
123
|
+
"test:fuzz:run": "vitiate fuzz --fuzz-time 10 --config vitest.vitiate.config.ts",
|
|
124
|
+
"test:mutation": "stryker run",
|
|
125
|
+
"tsgo": "tsgo",
|
|
126
|
+
"type-check": "tsgo --noEmit",
|
|
127
|
+
"type-check:agent": "tsgo --noEmit --pretty false"
|
|
128
|
+
}
|
|
129
|
+
}
|