@pobammer-ts/small-rules 1.0.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 +1246 -0
- package/dist/index.js +26290 -0
- package/package.json +127 -0
package/package.json
ADDED
|
@@ -0,0 +1,127 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@pobammer-ts/small-rules",
|
|
3
|
+
"version": "1.0.0",
|
|
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
|
+
"scripts": {
|
|
39
|
+
"biome": "biome",
|
|
40
|
+
"build": "tsdown",
|
|
41
|
+
"build-json": "bun run scripts/generate-default-properties.ts",
|
|
42
|
+
"build:local": "nr build --minify && cp dist/index.js plugins/small-rules.js",
|
|
43
|
+
"build:local:dev": "nr build && cp dist/index.js plugins/small-rules.js",
|
|
44
|
+
"changelogithub": "changelogithub",
|
|
45
|
+
"commitlint": "commitlint",
|
|
46
|
+
"format": "bash -c 'a=$(bash scripts/get-defaults.sh \"$@\"); nr biome check --fix $a && nr oxfmt $a' _",
|
|
47
|
+
"format:check": "bash -c 'a=$(bash scripts/get-defaults.sh \"$@\"); nr biome check --no-errors-on-unmatched $a && nr oxfmt --no-error-on-unmatched-pattern --check $a' _",
|
|
48
|
+
"format:safe": "bash -c 'a=$(bash scripts/get-defaults.sh \"$@\"); nr biome check --no-errors-on-unmatched --fix $a && nr oxfmt --no-error-on-unmatched-pattern $a' _",
|
|
49
|
+
"hooks:install": "hk install --mise",
|
|
50
|
+
"hooks:validate": "hk validate",
|
|
51
|
+
"jscpd": "jscpd",
|
|
52
|
+
"knip": "knip-bun",
|
|
53
|
+
"lint": "bash -c 'a=$(bash scripts/get-defaults.sh \"$@\"); nr oxlint $a && nr biome check $a' _",
|
|
54
|
+
"lint:agent": "bash -c 'a=$(bash scripts/get-defaults.sh \"$@\"); nr oxlint --format agent $a && nr biome check --reporter json $a' _",
|
|
55
|
+
"oxfmt": "oxfmt",
|
|
56
|
+
"oxlint": "oxlint",
|
|
57
|
+
"prepublish": "tsdown --minify",
|
|
58
|
+
"release": "bumpp",
|
|
59
|
+
"skills": "skills",
|
|
60
|
+
"test": "vitest run",
|
|
61
|
+
"test:agent": "vitest run --reporter agent",
|
|
62
|
+
"test:fuzz": "vitiate regression --config vitest.vitiate.config.ts",
|
|
63
|
+
"test:fuzz:run": "vitiate fuzz --fuzz-time 10 --config vitest.vitiate.config.ts",
|
|
64
|
+
"test:mutation": "stryker run",
|
|
65
|
+
"tsgo": "tsgo",
|
|
66
|
+
"type-check": "tsgo --noEmit"
|
|
67
|
+
},
|
|
68
|
+
"dependencies": {
|
|
69
|
+
"arktype": "2.2.0",
|
|
70
|
+
"ignore": "7.0.5",
|
|
71
|
+
"oxc-parser": "0.135.0",
|
|
72
|
+
"oxc-resolver": "11.20.0",
|
|
73
|
+
"oxlint-plugin-utilities": "1.0.0"
|
|
74
|
+
},
|
|
75
|
+
"devDependencies": {
|
|
76
|
+
"@antfu/ni": "30.1.0",
|
|
77
|
+
"@biomejs/biome": "2.5.0",
|
|
78
|
+
"@cliffy/command": "npm:@jsr/cliffy__command@1.2.1",
|
|
79
|
+
"@commitlint/config-conventional": "21.0.2",
|
|
80
|
+
"@commitlint/types": "21.0.1",
|
|
81
|
+
"@fast-check/vitest": "0.4.1",
|
|
82
|
+
"@octokit/rest": "22.0.1",
|
|
83
|
+
"@std/msgpack": "npm:@jsr/std__msgpack@1.0.3",
|
|
84
|
+
"@stryker-mutator/api": "9.6.1",
|
|
85
|
+
"@stryker-mutator/core": "9.6.1",
|
|
86
|
+
"@stryker-mutator/vitest-runner": "9.6.1",
|
|
87
|
+
"@total-typescript/ts-reset": "0.6.1",
|
|
88
|
+
"@types/bun": "1.3.14",
|
|
89
|
+
"@types/node": "25",
|
|
90
|
+
"@typescript-eslint/parser": "8.61.0",
|
|
91
|
+
"@typescript/native-preview": "7.0.0-dev.20260612.1",
|
|
92
|
+
"@vitest/coverage-v8": "4.1.8",
|
|
93
|
+
"@vitiate/core": "0.3.0",
|
|
94
|
+
"@vitiate/fuzzed-data-provider": "0.3.0",
|
|
95
|
+
"bumpp": "11.1.0",
|
|
96
|
+
"changelogithub": "14.0.0",
|
|
97
|
+
"commitlint": "21.0.2",
|
|
98
|
+
"eslint": "10.4.1",
|
|
99
|
+
"eslint-plugin-antfu": "3.2.3",
|
|
100
|
+
"eslint-plugin-regexp": "3.1.0",
|
|
101
|
+
"eslint-plugin-sonarjs": "4.0.3",
|
|
102
|
+
"eslint-plugin-unused-imports": "4.4.1",
|
|
103
|
+
"fast-check": "4.8.0",
|
|
104
|
+
"fdir": "6.5.0",
|
|
105
|
+
"get-tsconfig": "4.14.0",
|
|
106
|
+
"jiti": "2.7.0",
|
|
107
|
+
"jscpd": "5.0.7",
|
|
108
|
+
"knip": "6.16.1",
|
|
109
|
+
"oxfmt": "0.54.0",
|
|
110
|
+
"oxlint": "1.69.0",
|
|
111
|
+
"oxlint-tsgolint": "0.23.0",
|
|
112
|
+
"package-manager-detector": "1.6.0",
|
|
113
|
+
"sfw": "2.0.6",
|
|
114
|
+
"skills": "1.5.11",
|
|
115
|
+
"tsdown": "0.22.2",
|
|
116
|
+
"type-fest": "5.7.0",
|
|
117
|
+
"vitest": "4.1.8",
|
|
118
|
+
"vitiate": "0.3.0"
|
|
119
|
+
},
|
|
120
|
+
"peerDependencies": {
|
|
121
|
+
"typescript": "6"
|
|
122
|
+
},
|
|
123
|
+
"engines": {
|
|
124
|
+
"node": "^20.19.0 || >=22.12.0"
|
|
125
|
+
},
|
|
126
|
+
"packageManager": "aube@1.21.0"
|
|
127
|
+
}
|