@conorroberts/utils 0.0.89 → 0.0.90

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.
@@ -1,70 +1,78 @@
1
1
  {
2
- "$schema": "../node_modules/oxlint/configuration_schema.json",
3
- "plugins": ["import", "typescript", "unicorn", "react", "react-perf", "oxc", "node", "promise"],
4
- "env": {
5
- "browser": true
6
- },
7
- "ignorePatterns": [
8
- "packages/*/src/routeTree.gen.ts",
9
- "packages/*/.output",
10
- "packages/*/vite-plugins",
11
- "packages/*/dist",
12
- "packages/common/src/oxlint-plugins",
13
- "**/node_modules"
14
- ],
15
- "settings": {},
16
- "rules": {
17
- "sort-imports": "error",
18
- "@typescript-eslint/ban-ts-comment": "error",
19
- "@typescript-eslint/no-floating-promises": "off",
20
- "@typescript-eslint/no-explicit-any": "error",
21
- "@typescript-eslint/no-non-null-assertion": "error",
22
- "react/button-has-type": "deny",
23
- "react/rules-of-hooks": "deny",
24
- "no-nested-ternary": "deny",
25
- "react/exhaustive-deps": "deny",
26
- "react/no-unstable-nested-components": "error",
27
- "typescript/no-floating-promises": "off",
28
- "no-unused-vars": "warn",
29
- "typescript/no-import-type-side-effects": "deny",
30
- "@typescript-eslint/consistent-type-imports": "deny",
31
- "conorroberts/no-inline-components": "error",
32
- "conorroberts/no-switch": "error",
33
- "conorroberts/no-delete": "error",
34
- "conorroberts/no-top-level-let": "error",
35
- "conorroberts/no-finally": "error",
36
- "conorroberts/no-react-namespace": "error",
37
- "conorroberts/no-type-cast": "warn",
38
- "conorroberts/no-emoji": "error",
39
- "conorroberts/no-component-date-instantiation": "warn",
40
- "conorroberts/no-component-pure-functions": "warn",
41
- "conorroberts/no-nested-conditionals": "error",
42
- "conorroberts/no-nested-pure-functions": "error",
43
- "conorroberts/jsx-component-pascal-case": "error",
44
- "conorroberts/pretty-props": "error",
45
- "conorroberts/no-array-type": "error",
46
- "conorroberts/no-iife": "error",
47
- "conorroberts/no-promise-then": "error",
48
- "react/self-closing-comp": [
49
- "deny",
50
- {
51
- "html": false
52
- }
53
- ]
54
- },
55
- "overrides": [
56
- {
57
- "files": [
58
- "packages/**/*.test.ts",
59
- "packages/**/*.test.tsx",
60
- "packages/**/*.spec.ts",
61
- "packages/**/*.spec.tsx",
62
- "packages/**/__tests__/**"
63
- ],
64
- "rules": {
65
- "@typescript-eslint/no-explicit-any": "off",
66
- "conorroberts/no-type-cast": "off"
67
- }
68
- }
69
- ]
70
- }
2
+ "$schema": "../node_modules/oxlint/configuration_schema.json",
3
+ "plugins": [
4
+ "import",
5
+ "typescript",
6
+ "unicorn",
7
+ "react",
8
+ "react-perf",
9
+ "oxc",
10
+ "node",
11
+ "promise"
12
+ ],
13
+ "env": {
14
+ "browser": true
15
+ },
16
+ "ignorePatterns": [
17
+ "packages/*/src/routeTree.gen.ts",
18
+ "packages/*/.output",
19
+ "packages/*/vite-plugins",
20
+ "packages/*/dist",
21
+ "packages/common/src/oxlint-plugins",
22
+ "**/node_modules"
23
+ ],
24
+ "settings": {},
25
+ "rules": {
26
+ "@typescript-eslint/ban-ts-comment": "error",
27
+ "@typescript-eslint/no-floating-promises": "off",
28
+ "@typescript-eslint/no-explicit-any": "error",
29
+ "@typescript-eslint/no-non-null-assertion": "error",
30
+ "react/button-has-type": "deny",
31
+ "react/rules-of-hooks": "deny",
32
+ "no-nested-ternary": "deny",
33
+ "react/exhaustive-deps": "deny",
34
+ "react/no-unstable-nested-components": "error",
35
+ "typescript/no-floating-promises": "off",
36
+ "no-unused-vars": "warn",
37
+ "typescript/no-import-type-side-effects": "deny",
38
+ "@typescript-eslint/consistent-type-imports": "deny",
39
+ "conorroberts/no-inline-components": "error",
40
+ "conorroberts/no-switch": "error",
41
+ "conorroberts/no-delete": "error",
42
+ "conorroberts/no-top-level-let": "error",
43
+ "conorroberts/no-finally": "error",
44
+ "conorroberts/no-react-namespace": "error",
45
+ "conorroberts/no-type-cast": "warn",
46
+ "conorroberts/no-emoji": "error",
47
+ "conorroberts/no-component-date-instantiation": "warn",
48
+ "conorroberts/no-component-pure-functions": "warn",
49
+ "conorroberts/no-nested-conditionals": "error",
50
+ "conorroberts/no-nested-pure-functions": "error",
51
+ "conorroberts/jsx-component-pascal-case": "error",
52
+ "conorroberts/pretty-props": "error",
53
+ "conorroberts/no-array-type": "error",
54
+ "conorroberts/no-iife": "error",
55
+ "conorroberts/no-promise-then": "error",
56
+ "react/self-closing-comp": [
57
+ "deny",
58
+ {
59
+ "html": false
60
+ }
61
+ ]
62
+ },
63
+ "overrides": [
64
+ {
65
+ "files": [
66
+ "packages/**/*.test.ts",
67
+ "packages/**/*.test.tsx",
68
+ "packages/**/*.spec.ts",
69
+ "packages/**/*.spec.tsx",
70
+ "packages/**/__tests__/**"
71
+ ],
72
+ "rules": {
73
+ "@typescript-eslint/no-explicit-any": "off",
74
+ "conorroberts/no-type-cast": "off"
75
+ }
76
+ }
77
+ ]
78
+ }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@conorroberts/utils",
3
- "version": "0.0.89",
3
+ "version": "0.0.90",
4
4
  "private": false,
5
5
  "description": "",
6
6
  "license": "ISC",