@pobammer-ts/small-rules 2.14.0 → 2.16.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 +21 -0
- package/README.md +8 -2
- package/THIRD-PARTY-NOTICES.md +105 -0
- package/dist/index.d.ts +228 -25
- package/dist/index.js +68 -12
- package/package.json +58 -44
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@pobammer-ts/small-rules",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.16.0",
|
|
4
4
|
"description": "Various Oxlint-native rules for linting roblox-ts projects.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"lint",
|
|
@@ -14,77 +14,87 @@
|
|
|
14
14
|
"bugs": {
|
|
15
15
|
"url": "https://github.com/howmanysmall/small-rules/issues"
|
|
16
16
|
},
|
|
17
|
-
"license": "MIT",
|
|
18
|
-
"author": "HowManySmall",
|
|
19
17
|
"repository": {
|
|
20
18
|
"type": "git",
|
|
21
19
|
"url": "git+https://github.com/howmanysmall/small-rules.git"
|
|
22
20
|
},
|
|
23
|
-
"
|
|
24
|
-
|
|
25
|
-
],
|
|
26
|
-
"type": "module",
|
|
21
|
+
"license": "MIT",
|
|
22
|
+
"author": "HowManySmall",
|
|
27
23
|
"sideEffects": false,
|
|
24
|
+
"type": "module",
|
|
28
25
|
"exports": {
|
|
29
26
|
".": {
|
|
30
|
-
"
|
|
31
|
-
"
|
|
27
|
+
"types": "./dist/index.d.ts",
|
|
28
|
+
"default": "./dist/index.js"
|
|
32
29
|
},
|
|
33
30
|
"./package.json": "./package.json"
|
|
34
31
|
},
|
|
35
|
-
"
|
|
36
|
-
"
|
|
37
|
-
|
|
32
|
+
"files": [
|
|
33
|
+
"dist",
|
|
34
|
+
"THIRD-PARTY-NOTICES.md"
|
|
35
|
+
],
|
|
38
36
|
"dependencies": {
|
|
39
37
|
"arktype": "2.2.3",
|
|
38
|
+
"effect": "4.0.0-rc.111",
|
|
40
39
|
"ignore": "7.0.6",
|
|
41
40
|
"minimatch": "10.2.6",
|
|
42
41
|
"oxc-resolver": "11.24.2",
|
|
43
42
|
"oxlint-plugin-utilities": "1.1.0",
|
|
44
|
-
"yuku-parser": "0.
|
|
43
|
+
"yuku-parser": "0.9.1"
|
|
45
44
|
},
|
|
46
45
|
"devDependencies": {
|
|
47
|
-
"@
|
|
48
|
-
"@
|
|
46
|
+
"@arethetypeswrong/core": "0.18.5",
|
|
47
|
+
"@biomejs/biome": "2.5.10",
|
|
48
|
+
"@commitlint/cli": "21.2.2",
|
|
49
|
+
"@commitlint/config-conventional": "21.2.2",
|
|
49
50
|
"@commitlint/types": "21.2.0",
|
|
50
51
|
"@fast-check/vitest": "0.4.1",
|
|
51
|
-
"@
|
|
52
|
-
"@stryker-mutator/
|
|
53
|
-
"@stryker-mutator/
|
|
52
|
+
"@isentinel/eslint-config": "6.0.0-beta.42",
|
|
53
|
+
"@stryker-mutator/api": "10.0.0",
|
|
54
|
+
"@stryker-mutator/core": "10.0.0",
|
|
55
|
+
"@stryker-mutator/vitest-runner": "10.0.0",
|
|
54
56
|
"@total-typescript/ts-reset": "0.6.1",
|
|
55
|
-
"@types/bun": "1.
|
|
56
|
-
"@types/node": "^26.
|
|
57
|
+
"@types/bun": "1.4.0",
|
|
58
|
+
"@types/node": "^26.2.0",
|
|
57
59
|
"@typescript/native-preview": "7.0.0-dev.20260707.2",
|
|
58
|
-
"@vitest/coverage-v8": "4.1.
|
|
60
|
+
"@vitest/coverage-v8": "4.1.11",
|
|
61
|
+
"@vitest/eslint-plugin": "1.6.27",
|
|
59
62
|
"@vitiate/core": "0.3.1",
|
|
60
63
|
"@vitiate/fuzzed-data-provider": "0.3.1",
|
|
61
|
-
"bumpp": "12.
|
|
62
|
-
"commitlint": "21.2.1",
|
|
64
|
+
"bumpp": "12.2.1",
|
|
63
65
|
"confbox": "0.2.4",
|
|
64
66
|
"eslint": "10.8.0",
|
|
65
67
|
"eslint-plugin-antfu": "3.2.3",
|
|
68
|
+
"eslint-plugin-astro": "3.1.0",
|
|
69
|
+
"eslint-plugin-eslint-plugin": "7.6.1",
|
|
70
|
+
"eslint-plugin-n": "18.3.0",
|
|
71
|
+
"eslint-plugin-pnpm": "1.8.0",
|
|
72
|
+
"eslint-plugin-react-jsx": "5.18.6",
|
|
73
|
+
"eslint-plugin-react-naming-convention": "5.18.6",
|
|
74
|
+
"eslint-plugin-react-x": "5.18.6",
|
|
66
75
|
"eslint-plugin-regexp": "3.1.1",
|
|
67
76
|
"eslint-plugin-sonarjs": "4.2.0",
|
|
68
77
|
"eslint-plugin-unused-imports": "4.4.1",
|
|
69
78
|
"fast-check": "4.9.0",
|
|
70
|
-
"get-tsconfig": "4.14.
|
|
79
|
+
"get-tsconfig": "4.14.3",
|
|
71
80
|
"jiti": "2.7.0",
|
|
72
|
-
"jscpd": "5.0.
|
|
73
|
-
"knip": "6.
|
|
74
|
-
"oxfmt": "0.
|
|
75
|
-
"oxlint": "1.
|
|
76
|
-
"oxlint-plugin-react-doctor": "0.9.
|
|
81
|
+
"jscpd": "5.0.16",
|
|
82
|
+
"knip": "6.32.2",
|
|
83
|
+
"oxfmt": "0.65.0",
|
|
84
|
+
"oxlint": "1.78.0",
|
|
85
|
+
"oxlint-plugin-react-doctor": "0.9.11",
|
|
77
86
|
"oxlint-tsgolint": "7.0.2001",
|
|
78
|
-
"pncat": "0.13.
|
|
79
|
-
"
|
|
87
|
+
"pncat": "0.13.2",
|
|
88
|
+
"publint": "0.3.24",
|
|
89
|
+
"react-doctor": "0.9.11",
|
|
80
90
|
"sfw": "2.0.6",
|
|
81
|
-
"skills": "1.5.
|
|
91
|
+
"skills": "1.5.23",
|
|
82
92
|
"tsdown": "0.22.14",
|
|
83
93
|
"type-fest": "5.8.0",
|
|
84
|
-
"typescript": "
|
|
85
|
-
"vitest": "4.1.
|
|
94
|
+
"typescript": "npm:@typescript/typescript6@^6.0.2",
|
|
95
|
+
"vitest": "4.1.11",
|
|
86
96
|
"vitiate": "0.3.1",
|
|
87
|
-
"yuku-ast": "0.
|
|
97
|
+
"yuku-ast": "0.9.1",
|
|
88
98
|
"zx": "8.8.5"
|
|
89
99
|
},
|
|
90
100
|
"peerDependencies": {
|
|
@@ -93,6 +103,9 @@
|
|
|
93
103
|
"engines": {
|
|
94
104
|
"node": "^20.19.0 || >=22.12.0"
|
|
95
105
|
},
|
|
106
|
+
"publishConfig": {
|
|
107
|
+
"access": "public"
|
|
108
|
+
},
|
|
96
109
|
"scripts": {
|
|
97
110
|
"biome": "biome",
|
|
98
111
|
"build": "tsdown",
|
|
@@ -103,23 +116,23 @@
|
|
|
103
116
|
"docs:build": "nr -F docs build",
|
|
104
117
|
"docs:check": "nr -F docs check",
|
|
105
118
|
"docs:dev": "nr -F docs dev",
|
|
106
|
-
"doctor": "
|
|
119
|
+
"doctor": "nlx react-doctor@latest",
|
|
107
120
|
"format": "bash -c 'a=$(bash scripts/get-defaults.sh \"$@\"); node --run biome -- check --fix $a && node --run oxfmt -- $a' _",
|
|
108
121
|
"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' _",
|
|
109
122
|
"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' _",
|
|
110
|
-
"generate:compact-default-properties": "
|
|
111
|
-
"generate:default-properties": "
|
|
112
|
-
"generate:roblox-yielding-members": "
|
|
123
|
+
"generate:compact-default-properties": "bun run scripts/generate-compact-default-properties.ts",
|
|
124
|
+
"generate:default-properties": "bun run scripts/generate-default-properties.ts",
|
|
125
|
+
"generate:roblox-yielding-members": "bun run scripts/generate-roblox-yielding-members.ts && node --run format:safe -- src/generated/roblox-yielding-members.ts",
|
|
126
|
+
"generate:third-party-notices": "bun run scripts/generate-third-party-notices.ts",
|
|
113
127
|
"hooks:install": "hk install --mise",
|
|
114
128
|
"hooks:validate": "hk validate",
|
|
129
|
+
"isentinel-lint": "isentinel-lint",
|
|
115
130
|
"jscpd": "jscpd",
|
|
116
131
|
"knip": "knip-bun",
|
|
117
|
-
"lint": "bash -c 'a=$(bash scripts/get-defaults.sh \"$@\"); node --run
|
|
118
|
-
"lint:agent": "bash -c 'a=$(bash scripts/get-defaults.sh \"$@\"); node --run
|
|
119
|
-
"lint:json": "bun run --bun scripts/lint-json.ts",
|
|
132
|
+
"lint": "bash -c 'a=$(bash scripts/get-defaults.sh \"$@\"); node --run isentinel-lint -- $a && node --run biome -- check --no-errors-on-unmatched $a' _",
|
|
133
|
+
"lint:agent": "bash -c 'a=$(bash scripts/get-defaults.sh \"$@\"); node --run isentinel-lint -- --agents $a && node --run biome -- check --no-errors-on-unmatched --reporter concise $a' _",
|
|
120
134
|
"oxfmt": "oxfmt",
|
|
121
135
|
"oxlint": "oxlint",
|
|
122
|
-
"preversion": "if test -n \"$(git status --porcelain)\"; then echo 'Release requires a clean worktree.' >&2; exit 1; fi",
|
|
123
136
|
"release": "bumpp",
|
|
124
137
|
"skills": "skills",
|
|
125
138
|
"test": "vitest run",
|
|
@@ -129,6 +142,7 @@
|
|
|
129
142
|
"test:mutation": "stryker run",
|
|
130
143
|
"tsgo": "tsgo",
|
|
131
144
|
"type-check": "tsgo --noEmit",
|
|
132
|
-
"type-check:agent": "tsgo --noEmit --pretty false"
|
|
145
|
+
"type-check:agent": "tsgo --noEmit --pretty false",
|
|
146
|
+
"preversion": "if test -n \"$(git status --porcelain)\"; then echo 'Release requires a clean worktree.' >&2; exit 1; fi"
|
|
133
147
|
}
|
|
134
148
|
}
|