@pobammer-ts/eslint-cease-nonsense-rules 1.6.0 → 1.7.1
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/README.md +594 -535
- package/dist/build-metadata.json +3 -3
- package/dist/index.d.ts +7 -3
- package/dist/index.d.ts.map +1 -0
- package/dist/index.js +1704 -777
- package/dist/index.js.map +35 -28
- package/dist/oxfmt-sync.d.ts +4 -0
- package/dist/oxfmt-sync.d.ts.map +1 -0
- package/dist/oxfmt-worker.d.ts +12 -0
- package/dist/oxfmt-worker.d.ts.map +1 -0
- package/dist/oxfmt-worker.js +172786 -0
- package/dist/oxfmt-worker.js.map +27 -0
- package/dist/recognizers/camel-case-detector.d.ts +2 -2
- package/dist/recognizers/camel-case-detector.d.ts.map +1 -0
- package/dist/recognizers/code-recognizer.d.ts +6 -6
- package/dist/recognizers/code-recognizer.d.ts.map +1 -0
- package/dist/recognizers/contains-detector.d.ts +2 -2
- package/dist/recognizers/contains-detector.d.ts.map +1 -0
- package/dist/recognizers/detector.d.ts +3 -4
- package/dist/recognizers/detector.d.ts.map +1 -0
- package/dist/recognizers/end-with-detector.d.ts +2 -2
- package/dist/recognizers/end-with-detector.d.ts.map +1 -0
- package/dist/recognizers/javascript-footprint.d.ts +2 -2
- package/dist/recognizers/javascript-footprint.d.ts.map +1 -0
- package/dist/recognizers/keywords-detector.d.ts +2 -2
- package/dist/recognizers/keywords-detector.d.ts.map +1 -0
- package/dist/rules/ban-instances.d.ts +1 -0
- package/dist/rules/ban-instances.d.ts.map +1 -0
- package/dist/rules/ban-react-fc.d.ts +1 -0
- package/dist/rules/ban-react-fc.d.ts.map +1 -0
- package/dist/rules/enforce-ianitor-check-type.d.ts +2 -1
- package/dist/rules/enforce-ianitor-check-type.d.ts.map +1 -0
- package/dist/rules/fast-format.d.ts +36 -0
- package/dist/rules/fast-format.d.ts.map +1 -0
- package/dist/rules/no-async-constructor.d.ts +1 -0
- package/dist/rules/no-async-constructor.d.ts.map +1 -0
- package/dist/rules/no-color3-constructor.d.ts +1 -0
- package/dist/rules/no-color3-constructor.d.ts.map +1 -0
- package/dist/rules/no-commented-code.d.ts +1 -0
- package/dist/rules/no-commented-code.d.ts.map +1 -0
- package/dist/rules/no-god-components.d.ts +1 -0
- package/dist/rules/no-god-components.d.ts.map +1 -0
- package/dist/rules/no-identity-map.d.ts +9 -0
- package/dist/rules/no-identity-map.d.ts.map +1 -0
- package/dist/rules/no-instance-methods-without-this.d.ts +1 -0
- package/dist/rules/no-instance-methods-without-this.d.ts.map +1 -0
- package/dist/rules/no-print.d.ts +1 -0
- package/dist/rules/no-print.d.ts.map +1 -0
- package/dist/rules/no-shorthand-names.d.ts +1 -0
- package/dist/rules/no-shorthand-names.d.ts.map +1 -0
- package/dist/rules/no-useless-use-spring.d.ts +1 -0
- package/dist/rules/no-useless-use-spring.d.ts.map +1 -0
- package/dist/rules/no-warn.d.ts +1 -0
- package/dist/rules/no-warn.d.ts.map +1 -0
- package/dist/rules/prefer-sequence-overloads.d.ts +1 -0
- package/dist/rules/prefer-sequence-overloads.d.ts.map +1 -0
- package/dist/rules/prefer-udim2-shorthand.d.ts +1 -0
- package/dist/rules/prefer-udim2-shorthand.d.ts.map +1 -0
- package/dist/rules/require-named-effect-functions.d.ts +4 -3
- package/dist/rules/require-named-effect-functions.d.ts.map +1 -0
- package/dist/rules/require-paired-calls.d.ts +1 -0
- package/dist/rules/require-paired-calls.d.ts.map +1 -0
- package/dist/rules/require-react-component-keys.d.ts +1 -0
- package/dist/rules/require-react-component-keys.d.ts.map +1 -0
- package/dist/rules/use-exhaustive-dependencies.d.ts +1 -0
- package/dist/rules/use-exhaustive-dependencies.d.ts.map +1 -0
- package/dist/rules/use-hook-at-top-level.d.ts +1 -0
- package/dist/rules/use-hook-at-top-level.d.ts.map +1 -0
- package/dist/types/oxfmt.d.ts +88 -0
- package/dist/types/oxfmt.d.ts.map +1 -0
- package/dist/{configure-utilities.d.ts → utilities/configure-utilities.d.ts} +12 -11
- package/dist/utilities/configure-utilities.d.ts.map +1 -0
- package/dist/utilities/error-utilities.d.ts +25 -0
- package/dist/utilities/error-utilities.d.ts.map +1 -0
- package/dist/utilities/format-utilities.d.ts +20 -0
- package/dist/utilities/format-utilities.d.ts.map +1 -0
- package/dist/utilities/typebox-utilities.d.ts +4 -0
- package/dist/utilities/typebox-utilities.d.ts.map +1 -0
- package/package.json +23 -10
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"typebox-utilities.d.ts","sourceRoot":"","sources":["../../src/utilities/typebox-utilities.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,yBAAyB,EAAE,MAAM,eAAe,CAAC;AAa/D,wBAAgB,iBAAiB,CAChC,MAAM,EAAE,aAAa,CAAC,yBAAyB,CAAC,EAChD,KAAK,EAAE,OAAO,GACZ,aAAa,CAAC,MAAM,CAAC,CAUvB;AAED,wBAAgB,cAAc,CAAC,MAAM,EAAE,aAAa,CAAC,yBAAyB,CAAC,EAAE,KAAK,EAAE,OAAO,GAAG,MAAM,CAEvG"}
|
package/package.json
CHANGED
|
@@ -1,34 +1,44 @@
|
|
|
1
1
|
{
|
|
2
2
|
"author": "HowManySmall",
|
|
3
3
|
"dependencies": {
|
|
4
|
+
"arkregex": "^0.0.5",
|
|
4
5
|
"oxc-parser": "^0.104.0",
|
|
5
6
|
"typebox": "^1.0.64"
|
|
6
7
|
},
|
|
7
8
|
"description": "A bunch of lints to prevent idiot mistakes I encounter with frequency.",
|
|
8
9
|
"devDependencies": {
|
|
9
10
|
"@biomejs/biome": "^2.3.10",
|
|
11
|
+
"@jsr/cliffy__command": "^1.0.0-rc.8",
|
|
10
12
|
"@mitata/counters": "^0.0.8",
|
|
13
|
+
"@octokit/rest": "^22.0.1",
|
|
14
|
+
"@opencode-ai/plugin": "^1.0.105",
|
|
15
|
+
"@toon-format/toon": "^2.1.0",
|
|
11
16
|
"@total-typescript/ts-reset": "^0.6.1",
|
|
12
|
-
"@types/bun": "1.3.5",
|
|
17
|
+
"@types/bun": "^1.3.5",
|
|
13
18
|
"@types/node": "^20.14.11",
|
|
14
19
|
"@typescript-eslint/parser": "^8.46.4",
|
|
15
20
|
"@typescript-eslint/types": "^8.46.4",
|
|
16
21
|
"@typescript-eslint/utils": "^8.46.4",
|
|
17
|
-
"@typescript/native-preview": "7.0.0-dev.
|
|
22
|
+
"@typescript/native-preview": "7.0.0-dev.20251219.1",
|
|
23
|
+
"arkenv": "^0.7.6",
|
|
18
24
|
"arktype": "^2.1.29",
|
|
19
25
|
"bumpp": "^10.3.2",
|
|
26
|
+
"confbox": "^0.2.2",
|
|
27
|
+
"consola": "^3.4.2",
|
|
20
28
|
"eslint": "9.39.2",
|
|
21
|
-
"
|
|
29
|
+
"fast-xml-parser": "^5.3.2",
|
|
22
30
|
"lint-staged": "^16.2.7",
|
|
23
31
|
"mitata": "^1.0.34",
|
|
24
32
|
"oxfmt": "^0.19.0",
|
|
25
33
|
"oxlint": "^1.34.0",
|
|
26
|
-
"oxlint-tsgolint": "^0.
|
|
34
|
+
"oxlint-tsgolint": "^0.10.0",
|
|
35
|
+
"picocolors": "^1.1.1",
|
|
36
|
+
"pretty-bytes": "^7.1.0",
|
|
37
|
+
"pretty-ms": "^9.3.0",
|
|
27
38
|
"simple-git-hooks": "^2.13.1",
|
|
28
|
-
"
|
|
39
|
+
"ts-case-convert": "^2.1.0",
|
|
29
40
|
"type-fest": "^5.3.1",
|
|
30
|
-
"typescript": "^5.6.3"
|
|
31
|
-
"valibot": "^1.1.0"
|
|
41
|
+
"typescript": "^5.6.3"
|
|
32
42
|
},
|
|
33
43
|
"engines": {
|
|
34
44
|
"bun": ">=1.1.0",
|
|
@@ -43,10 +53,11 @@
|
|
|
43
53
|
"files": ["dist"],
|
|
44
54
|
"license": "MIT",
|
|
45
55
|
"lint-staged": {
|
|
46
|
-
"*": "bun run
|
|
56
|
+
"*": ["bun run lint:fix"]
|
|
47
57
|
},
|
|
48
58
|
"main": "./dist/index.js",
|
|
49
59
|
"name": "@pobammer-ts/eslint-cease-nonsense-rules",
|
|
60
|
+
"packageManager": "bun@1.3.5",
|
|
50
61
|
"peerDependencies": {
|
|
51
62
|
"@typescript-eslint/parser": "^8.46.4",
|
|
52
63
|
"@typescript-eslint/utils": "^8.46.4",
|
|
@@ -66,11 +77,13 @@
|
|
|
66
77
|
"dev": "bun x --bun tsgo -w",
|
|
67
78
|
"format": "bun x oxfmt",
|
|
68
79
|
"lint": "bun run oxc . && bun x --bun biome lint .",
|
|
80
|
+
"lint:fix": "bun run oxc . --fix && bun x --bun biome lint . --fix",
|
|
69
81
|
"oxc": "bun x oxlint --type-aware",
|
|
70
82
|
"prepare": "bun x --bun simple-git-hooks",
|
|
71
83
|
"prepublishOnly": "bun run build",
|
|
72
84
|
"release": "bumpp",
|
|
73
|
-
"
|
|
85
|
+
"test": "bun test",
|
|
86
|
+
"typecheck": "bun x --bun tsgo --noEmit",
|
|
74
87
|
"typecheck:safe": "bun x --bun tsc --noEmit"
|
|
75
88
|
},
|
|
76
89
|
"sideEffects": false,
|
|
@@ -79,5 +92,5 @@
|
|
|
79
92
|
},
|
|
80
93
|
"type": "module",
|
|
81
94
|
"types": "./dist/index.d.ts",
|
|
82
|
-
"version": "1.
|
|
95
|
+
"version": "1.7.1"
|
|
83
96
|
}
|