@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.
Files changed (79) hide show
  1. package/README.md +594 -535
  2. package/dist/build-metadata.json +3 -3
  3. package/dist/index.d.ts +7 -3
  4. package/dist/index.d.ts.map +1 -0
  5. package/dist/index.js +1704 -777
  6. package/dist/index.js.map +35 -28
  7. package/dist/oxfmt-sync.d.ts +4 -0
  8. package/dist/oxfmt-sync.d.ts.map +1 -0
  9. package/dist/oxfmt-worker.d.ts +12 -0
  10. package/dist/oxfmt-worker.d.ts.map +1 -0
  11. package/dist/oxfmt-worker.js +172786 -0
  12. package/dist/oxfmt-worker.js.map +27 -0
  13. package/dist/recognizers/camel-case-detector.d.ts +2 -2
  14. package/dist/recognizers/camel-case-detector.d.ts.map +1 -0
  15. package/dist/recognizers/code-recognizer.d.ts +6 -6
  16. package/dist/recognizers/code-recognizer.d.ts.map +1 -0
  17. package/dist/recognizers/contains-detector.d.ts +2 -2
  18. package/dist/recognizers/contains-detector.d.ts.map +1 -0
  19. package/dist/recognizers/detector.d.ts +3 -4
  20. package/dist/recognizers/detector.d.ts.map +1 -0
  21. package/dist/recognizers/end-with-detector.d.ts +2 -2
  22. package/dist/recognizers/end-with-detector.d.ts.map +1 -0
  23. package/dist/recognizers/javascript-footprint.d.ts +2 -2
  24. package/dist/recognizers/javascript-footprint.d.ts.map +1 -0
  25. package/dist/recognizers/keywords-detector.d.ts +2 -2
  26. package/dist/recognizers/keywords-detector.d.ts.map +1 -0
  27. package/dist/rules/ban-instances.d.ts +1 -0
  28. package/dist/rules/ban-instances.d.ts.map +1 -0
  29. package/dist/rules/ban-react-fc.d.ts +1 -0
  30. package/dist/rules/ban-react-fc.d.ts.map +1 -0
  31. package/dist/rules/enforce-ianitor-check-type.d.ts +2 -1
  32. package/dist/rules/enforce-ianitor-check-type.d.ts.map +1 -0
  33. package/dist/rules/fast-format.d.ts +36 -0
  34. package/dist/rules/fast-format.d.ts.map +1 -0
  35. package/dist/rules/no-async-constructor.d.ts +1 -0
  36. package/dist/rules/no-async-constructor.d.ts.map +1 -0
  37. package/dist/rules/no-color3-constructor.d.ts +1 -0
  38. package/dist/rules/no-color3-constructor.d.ts.map +1 -0
  39. package/dist/rules/no-commented-code.d.ts +1 -0
  40. package/dist/rules/no-commented-code.d.ts.map +1 -0
  41. package/dist/rules/no-god-components.d.ts +1 -0
  42. package/dist/rules/no-god-components.d.ts.map +1 -0
  43. package/dist/rules/no-identity-map.d.ts +9 -0
  44. package/dist/rules/no-identity-map.d.ts.map +1 -0
  45. package/dist/rules/no-instance-methods-without-this.d.ts +1 -0
  46. package/dist/rules/no-instance-methods-without-this.d.ts.map +1 -0
  47. package/dist/rules/no-print.d.ts +1 -0
  48. package/dist/rules/no-print.d.ts.map +1 -0
  49. package/dist/rules/no-shorthand-names.d.ts +1 -0
  50. package/dist/rules/no-shorthand-names.d.ts.map +1 -0
  51. package/dist/rules/no-useless-use-spring.d.ts +1 -0
  52. package/dist/rules/no-useless-use-spring.d.ts.map +1 -0
  53. package/dist/rules/no-warn.d.ts +1 -0
  54. package/dist/rules/no-warn.d.ts.map +1 -0
  55. package/dist/rules/prefer-sequence-overloads.d.ts +1 -0
  56. package/dist/rules/prefer-sequence-overloads.d.ts.map +1 -0
  57. package/dist/rules/prefer-udim2-shorthand.d.ts +1 -0
  58. package/dist/rules/prefer-udim2-shorthand.d.ts.map +1 -0
  59. package/dist/rules/require-named-effect-functions.d.ts +4 -3
  60. package/dist/rules/require-named-effect-functions.d.ts.map +1 -0
  61. package/dist/rules/require-paired-calls.d.ts +1 -0
  62. package/dist/rules/require-paired-calls.d.ts.map +1 -0
  63. package/dist/rules/require-react-component-keys.d.ts +1 -0
  64. package/dist/rules/require-react-component-keys.d.ts.map +1 -0
  65. package/dist/rules/use-exhaustive-dependencies.d.ts +1 -0
  66. package/dist/rules/use-exhaustive-dependencies.d.ts.map +1 -0
  67. package/dist/rules/use-hook-at-top-level.d.ts +1 -0
  68. package/dist/rules/use-hook-at-top-level.d.ts.map +1 -0
  69. package/dist/types/oxfmt.d.ts +88 -0
  70. package/dist/types/oxfmt.d.ts.map +1 -0
  71. package/dist/{configure-utilities.d.ts → utilities/configure-utilities.d.ts} +12 -11
  72. package/dist/utilities/configure-utilities.d.ts.map +1 -0
  73. package/dist/utilities/error-utilities.d.ts +25 -0
  74. package/dist/utilities/error-utilities.d.ts.map +1 -0
  75. package/dist/utilities/format-utilities.d.ts +20 -0
  76. package/dist/utilities/format-utilities.d.ts.map +1 -0
  77. package/dist/utilities/typebox-utilities.d.ts +4 -0
  78. package/dist/utilities/typebox-utilities.d.ts.map +1 -0
  79. 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.20251218.3",
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
- "jiti": "^2.4.2",
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.9.2",
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
- "sury": "^11.0.0-alpha.4",
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 oxc --fix"
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
- "typecheck": "bun x --bun tsgo --noEmit || bun run typecheck:safe",
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.6.0"
95
+ "version": "1.7.1"
83
96
  }