@pobammer-ts/eslint-cease-nonsense-rules 1.5.3 → 1.6.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.
@@ -0,0 +1,13 @@
1
+ import type { Rule } from "eslint";
2
+ export interface NoGodComponentsOptions {
3
+ readonly targetLines?: number;
4
+ readonly maxLines?: number;
5
+ readonly enforceTargetLines?: boolean;
6
+ readonly maxTsxNesting?: number;
7
+ readonly maxStateHooks?: number;
8
+ readonly stateHooks?: ReadonlyArray<string>;
9
+ readonly maxDestructuredProps?: number;
10
+ readonly ignoreComponents?: ReadonlyArray<string>;
11
+ }
12
+ declare const noGodComponents: Rule.RuleModule;
13
+ export default noGodComponents;
package/package.json CHANGED
@@ -1,32 +1,32 @@
1
1
  {
2
2
  "author": "HowManySmall",
3
3
  "dependencies": {
4
- "oxc-parser": "^0.101.0",
5
- "type-fest": "^5.2.0",
6
- "typebox": "^1.0.60"
4
+ "oxc-parser": "^0.104.0",
5
+ "typebox": "^1.0.64"
7
6
  },
8
7
  "description": "A bunch of lints to prevent idiot mistakes I encounter with frequency.",
9
8
  "devDependencies": {
10
- "@biomejs/biome": "^2.3.8",
9
+ "@biomejs/biome": "^2.3.10",
11
10
  "@mitata/counters": "^0.0.8",
12
11
  "@total-typescript/ts-reset": "^0.6.1",
13
- "@types/bun": "latest",
12
+ "@types/bun": "1.3.5",
14
13
  "@types/node": "^20.14.11",
15
14
  "@typescript-eslint/parser": "^8.46.4",
16
15
  "@typescript-eslint/types": "^8.46.4",
17
16
  "@typescript-eslint/utils": "^8.46.4",
18
- "@typescript/native-preview": "7.0.0-dev.20251201.1",
19
- "arktype": "^2.1.27",
17
+ "@typescript/native-preview": "7.0.0-dev.20251218.3",
18
+ "arktype": "^2.1.29",
20
19
  "bumpp": "^10.3.2",
21
- "eslint": "9.39.1",
20
+ "eslint": "9.39.2",
22
21
  "jiti": "^2.4.2",
23
22
  "lint-staged": "^16.2.7",
24
23
  "mitata": "^1.0.34",
25
- "oxfmt": "^0.16.0",
26
- "oxlint": "^1.31.0",
27
- "oxlint-tsgolint": "^0.8.3",
24
+ "oxfmt": "^0.19.0",
25
+ "oxlint": "^1.34.0",
26
+ "oxlint-tsgolint": "^0.9.2",
28
27
  "simple-git-hooks": "^2.13.1",
29
28
  "sury": "^11.0.0-alpha.4",
29
+ "type-fest": "^5.3.1",
30
30
  "typescript": "^5.6.3",
31
31
  "valibot": "^1.1.0"
32
32
  },
@@ -50,7 +50,7 @@
50
50
  "peerDependencies": {
51
51
  "@typescript-eslint/parser": "^8.46.4",
52
52
  "@typescript-eslint/utils": "^8.46.4",
53
- "eslint": "^9.35.0"
53
+ "eslint": "^9.39.2"
54
54
  },
55
55
  "publishConfig": {
56
56
  "access": "public"
@@ -79,5 +79,5 @@
79
79
  },
80
80
  "type": "module",
81
81
  "types": "./dist/index.d.ts",
82
- "version": "1.5.3"
82
+ "version": "1.6.0"
83
83
  }