@pobammer-ts/eslint-cease-nonsense-rules 1.0.1 → 1.1.2
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 +268 -1
- package/dist/configure-utilities.js +0 -1
- package/dist/configure-utilities.js.map +1 -1
- package/dist/index.d.ts +8 -0
- package/dist/index.js +4 -0
- package/dist/index.js.map +1 -1
- package/dist/rules/ban-react-fc.js.map +1 -1
- package/dist/rules/enforce-ianitor-check-type.js +5 -5
- package/dist/rules/enforce-ianitor-check-type.js.map +1 -1
- package/dist/rules/no-color3-constructor.js.map +1 -1
- package/dist/rules/no-instance-methods-without-this.d.ts +2 -2
- package/dist/rules/no-instance-methods-without-this.js.map +1 -1
- package/dist/rules/no-print.js.map +1 -1
- package/dist/rules/no-shorthand-names.d.ts +4 -0
- package/dist/rules/no-shorthand-names.js.map +1 -1
- package/dist/rules/no-warn.js.map +1 -1
- package/dist/rules/prefer-sequence-overloads.js.map +1 -1
- package/dist/rules/prefer-udim2-shorthand.js.map +1 -1
- package/dist/rules/require-named-effect-functions.d.ts +11 -0
- package/dist/rules/require-named-effect-functions.js +2 -1
- package/dist/rules/require-named-effect-functions.js.map +1 -1
- package/dist/rules/require-paired-calls.d.ts +0 -7
- package/dist/rules/require-paired-calls.js +1 -17
- package/dist/rules/require-paired-calls.js.map +1 -1
- package/dist/rules/require-react-component-keys.d.ts +2 -2
- package/dist/rules/require-react-component-keys.js +1 -1
- package/dist/rules/require-react-component-keys.js.map +1 -1
- package/dist/rules/use-exhaustive-dependencies.d.ts +16 -1
- package/dist/rules/use-exhaustive-dependencies.js.map +1 -1
- package/dist/rules/use-hook-at-top-level.js.map +1 -1
- package/package.json +27 -18
package/package.json
CHANGED
|
@@ -1,27 +1,33 @@
|
|
|
1
1
|
{
|
|
2
2
|
"author": "HowManySmall",
|
|
3
3
|
"dependencies": {
|
|
4
|
-
"
|
|
4
|
+
"type-fest": "^5.2.0",
|
|
5
|
+
"typebox": "^1.0.51"
|
|
5
6
|
},
|
|
6
7
|
"description": "A bunch of lints to prevent idiot mistakes I encounter with frequency.",
|
|
7
8
|
"devDependencies": {
|
|
8
9
|
"@biomejs/biome": "^2.3.4",
|
|
9
10
|
"@mitata/counters": "^0.0.8",
|
|
11
|
+
"@total-typescript/ts-reset": "^0.6.1",
|
|
10
12
|
"@types/bun": "latest",
|
|
11
13
|
"@types/node": "^20.14.11",
|
|
12
14
|
"@typescript-eslint/parser": "^8.0.0",
|
|
13
15
|
"@typescript-eslint/types": "^8.0.0",
|
|
14
16
|
"@typescript-eslint/utils": "^8.0.0",
|
|
17
|
+
"@typescript/native-preview": "latest",
|
|
15
18
|
"arktype": "^2.1.25",
|
|
19
|
+
"bumpp": "^10.3.1",
|
|
16
20
|
"eslint": "9.35.0",
|
|
17
21
|
"jiti": "^2.4.2",
|
|
18
|
-
"
|
|
22
|
+
"lint-staged": "^16.2.6",
|
|
19
23
|
"mitata": "^1.0.34",
|
|
20
|
-
"oxfmt": "^0.
|
|
21
|
-
"oxlint": "^1.
|
|
22
|
-
"oxlint-tsgolint": "^0.5.
|
|
24
|
+
"oxfmt": "^0.11.0",
|
|
25
|
+
"oxlint": "^1.25.0",
|
|
26
|
+
"oxlint-tsgolint": "^0.5.1",
|
|
27
|
+
"simple-git-hooks": "^2.13.1",
|
|
23
28
|
"sury": "^11.0.0-alpha.4",
|
|
24
|
-
"typescript": "^5.6.3"
|
|
29
|
+
"typescript": "^5.6.3",
|
|
30
|
+
"valibot": "^1.1.0"
|
|
25
31
|
},
|
|
26
32
|
"engines": {
|
|
27
33
|
"bun": ">=1.1.0",
|
|
@@ -35,6 +41,9 @@
|
|
|
35
41
|
},
|
|
36
42
|
"files": ["dist"],
|
|
37
43
|
"license": "MIT",
|
|
44
|
+
"lint-staged": {
|
|
45
|
+
"*": "bun run oxc --fix"
|
|
46
|
+
},
|
|
38
47
|
"main": "./dist/index.js",
|
|
39
48
|
"name": "@pobammer-ts/eslint-cease-nonsense-rules",
|
|
40
49
|
"peerDependencies": {
|
|
@@ -47,26 +56,26 @@
|
|
|
47
56
|
},
|
|
48
57
|
"repository": {
|
|
49
58
|
"type": "git",
|
|
50
|
-
"url": "https://github.com/howmanysmall/eslint-cease-nonsense-rules.git"
|
|
59
|
+
"url": "git+https://github.com/howmanysmall/eslint-cease-nonsense-rules.git"
|
|
51
60
|
},
|
|
52
61
|
"scripts": {
|
|
53
|
-
"add-tsgolint": "bun add -D oxlint-tsgolint@latest",
|
|
54
|
-
"biome": "bun x --bun biome lint",
|
|
55
62
|
"biome:ci": "bun x --bun biome ci",
|
|
56
|
-
"build": "bun x --bun
|
|
57
|
-
"
|
|
58
|
-
"
|
|
59
|
-
"format
|
|
60
|
-
"format:biome:report": "bun x --bun. biome format",
|
|
61
|
-
"knip": "knip",
|
|
63
|
+
"build": "bun x --bun tsgo -p tsconfig.json",
|
|
64
|
+
"build:compatible": "bun x --bun tsc -p tsconfig.json",
|
|
65
|
+
"dev": "bun x --bun tsgo -w",
|
|
66
|
+
"format": "bun x oxfmt",
|
|
62
67
|
"lint": "bun run oxc . && bun x --bun biome lint .",
|
|
63
68
|
"oxc": "bun x --bun oxlint --type-aware",
|
|
69
|
+
"prepare": "bun x --bun simple-git-hooks",
|
|
64
70
|
"prepublishOnly": "bun run build",
|
|
65
|
-
"
|
|
66
|
-
"typecheck": "bun x --bun
|
|
71
|
+
"release": "bumpp",
|
|
72
|
+
"typecheck": "bun x --bun tsgo --noEmit"
|
|
67
73
|
},
|
|
68
74
|
"sideEffects": false,
|
|
75
|
+
"simple-git-hooks": {
|
|
76
|
+
"pre-commit": "bun run lint-staged"
|
|
77
|
+
},
|
|
69
78
|
"type": "module",
|
|
70
79
|
"types": "./dist/index.d.ts",
|
|
71
|
-
"version": "1.
|
|
80
|
+
"version": "1.1.2"
|
|
72
81
|
}
|