Skip to content

Commit b3adbbd

Browse files
authored
Merge pull request #484 from LGLabGreg/chore/deps-18-03
Chore/deps 18 03
2 parents 4b70334 + b2e697c commit b3adbbd

38 files changed

Lines changed: 2606 additions & 4848 deletions

.github/dependabot.yml

Lines changed: 13 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,10 @@
1-
# To get started with Dependabot version updates, you'll need to specify which
2-
# package ecosystems to update and where the package manifests are located.
3-
# Please see the documentation for all configuration options:
4-
# https://docs.github.com/code-security/dependabot/dependabot-version-updates/configuration-options-for-the-dependabot.yml-file
5-
61
version: 2
72
updates:
8-
- package-ecosystem: 'npm' # See documentation for possible values
9-
directory: '/' # Location of package manifests
3+
- package-ecosystem: 'npm'
4+
directory: '/'
105
target-branch: 'next'
116
schedule:
12-
interval: 'daily'
7+
interval: 'weekly'
138
groups:
149
react:
1510
patterns:
@@ -19,10 +14,10 @@ updates:
1914
- '@types*'
2015
- 'ts*'
2116
- 'typescript*'
22-
eslint:
17+
oxc:
2318
patterns:
24-
- 'eslint*'
25-
- '@eslint*'
19+
- 'oxlint*'
20+
- 'oxfmt*'
2621
radix:
2722
patterns:
2823
- '@radix-ui*'
@@ -34,8 +29,14 @@ updates:
3429
patterns:
3530
- 'tailwind*'
3631
- '@tailwind*'
32+
all-minor-patch:
33+
patterns:
34+
- '*'
35+
update-types:
36+
- 'minor'
37+
- 'patch'
3738

3839
- package-ecosystem: 'github-actions'
3940
directory: '/'
4041
schedule:
41-
interval: 'daily'
42+
interval: 'weekly'

.oxfmtrc.json

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
{
2+
"$schema": "./node_modules/oxfmt/configuration_schema.json",
3+
"printWidth": 90,
4+
"semi": false,
5+
"tabWidth": 2,
6+
"singleQuote": true,
7+
"jsxSingleQuote": true,
8+
"sortImports": {
9+
"newlinesBetween": true
10+
},
11+
"sortPackageJson": false
12+
}

.oxlintrc.json

Lines changed: 139 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,139 @@
1+
{
2+
"$schema": "./node_modules/oxlint/configuration_schema.json",
3+
"plugins": ["typescript", "react"],
4+
"categories": {
5+
"correctness": "off"
6+
},
7+
"env": {
8+
"builtin": true,
9+
"browser": true
10+
},
11+
"ignorePatterns": ["**/dist", "**/qrcodegen"],
12+
"rules": {
13+
"constructor-super": "error",
14+
"for-direction": "error",
15+
"no-async-promise-executor": "error",
16+
"no-case-declarations": "error",
17+
"no-class-assign": "error",
18+
"no-compare-neg-zero": "error",
19+
"no-cond-assign": "error",
20+
"no-const-assign": "error",
21+
"no-constant-binary-expression": "error",
22+
"no-constant-condition": "error",
23+
"no-control-regex": "error",
24+
"no-debugger": "error",
25+
"no-delete-var": "error",
26+
"no-dupe-class-members": "error",
27+
"no-dupe-else-if": "error",
28+
"no-dupe-keys": "error",
29+
"no-duplicate-case": "error",
30+
"no-empty": "error",
31+
"no-empty-character-class": "error",
32+
"no-empty-pattern": "error",
33+
"no-empty-static-block": "error",
34+
"no-ex-assign": "error",
35+
"no-extra-boolean-cast": "error",
36+
"no-fallthrough": "error",
37+
"no-func-assign": "error",
38+
"no-global-assign": "error",
39+
"no-import-assign": "error",
40+
"no-invalid-regexp": "error",
41+
"no-irregular-whitespace": "error",
42+
"no-loss-of-precision": "error",
43+
"no-misleading-character-class": "error",
44+
"no-new-native-nonconstructor": "error",
45+
"no-nonoctal-decimal-escape": "error",
46+
"no-obj-calls": "error",
47+
"no-prototype-builtins": "error",
48+
"no-redeclare": "error",
49+
"no-regex-spaces": "error",
50+
"no-self-assign": "error",
51+
"no-setter-return": "error",
52+
"no-shadow-restricted-names": "error",
53+
"no-sparse-arrays": "error",
54+
"no-this-before-super": "error",
55+
"no-unexpected-multiline": "error",
56+
"no-unsafe-finally": "error",
57+
"no-unsafe-negation": "error",
58+
"no-unsafe-optional-chaining": "error",
59+
"no-unused-labels": "error",
60+
"no-unused-private-class-members": "error",
61+
"no-unused-vars": "error",
62+
"no-useless-backreference": "error",
63+
"no-useless-catch": "error",
64+
"no-useless-escape": "error",
65+
"no-with": "error",
66+
"require-yield": "error",
67+
"use-isnan": "error",
68+
"valid-typeof": "error",
69+
"@typescript-eslint/ban-ts-comment": "error",
70+
"no-array-constructor": "error",
71+
"@typescript-eslint/no-duplicate-enum-values": "error",
72+
"@typescript-eslint/no-empty-object-type": "error",
73+
"@typescript-eslint/no-explicit-any": "error",
74+
"@typescript-eslint/no-extra-non-null-assertion": "error",
75+
"@typescript-eslint/no-misused-new": "error",
76+
"@typescript-eslint/no-namespace": "error",
77+
"@typescript-eslint/no-non-null-asserted-optional-chain": "error",
78+
"@typescript-eslint/no-require-imports": "error",
79+
"@typescript-eslint/no-this-alias": "error",
80+
"@typescript-eslint/no-unnecessary-type-constraint": "error",
81+
"@typescript-eslint/no-unsafe-declaration-merging": "error",
82+
"@typescript-eslint/no-unsafe-function-type": "error",
83+
"no-unused-expressions": "error",
84+
"@typescript-eslint/no-wrapper-object-types": "error",
85+
"@typescript-eslint/prefer-as-const": "error",
86+
"@typescript-eslint/prefer-namespace-keyword": "error",
87+
"@typescript-eslint/triple-slash-reference": "error",
88+
"react/display-name": "error",
89+
"react/jsx-key": "error",
90+
"react/jsx-no-comment-textnodes": "error",
91+
"react/jsx-no-duplicate-props": "error",
92+
"react/jsx-no-target-blank": "error",
93+
"react/jsx-no-undef": "error",
94+
"react/no-children-prop": "error",
95+
"react/no-danger-with-children": "error",
96+
"react/no-direct-mutation-state": "error",
97+
"react/no-find-dom-node": "error",
98+
"react/no-is-mounted": "error",
99+
"react/no-render-return-value": "error",
100+
"react/no-string-refs": "error",
101+
"react/no-unescaped-entities": "error",
102+
"react/no-unknown-property": "error",
103+
"react-hooks/rules-of-hooks": "error",
104+
"react-hooks/exhaustive-deps": "warn",
105+
"@typescript-eslint/consistent-type-imports": "error",
106+
"no-console": "error",
107+
"react/only-export-components": [
108+
"warn",
109+
{
110+
"allowConstantExport": true
111+
}
112+
]
113+
},
114+
"overrides": [
115+
{
116+
"files": ["**/*.ts", "**/*.tsx", "**/*.mts", "**/*.cts"],
117+
"rules": {
118+
"constructor-super": "off",
119+
"no-class-assign": "off",
120+
"no-const-assign": "off",
121+
"no-dupe-class-members": "off",
122+
"no-dupe-keys": "off",
123+
"no-func-assign": "off",
124+
"no-import-assign": "off",
125+
"no-new-native-nonconstructor": "off",
126+
"no-obj-calls": "off",
127+
"no-redeclare": "off",
128+
"no-setter-return": "off",
129+
"no-this-before-super": "off",
130+
"no-unsafe-negation": "off",
131+
"no-var": "error",
132+
"no-with": "off",
133+
"prefer-const": "error",
134+
"prefer-rest-params": "error",
135+
"prefer-spread": "error"
136+
}
137+
}
138+
]
139+
}

.prettierrc

Lines changed: 0 additions & 19 deletions
This file was deleted.

apps/docs/.oxlintrc.json

Lines changed: 132 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,132 @@
1+
{
2+
"$schema": "./node_modules/oxlint/configuration_schema.json",
3+
"plugins": ["nextjs", "typescript"],
4+
"categories": {
5+
"correctness": "off"
6+
},
7+
"env": {
8+
"builtin": true
9+
},
10+
"ignorePatterns": [".next/**", "out/**", "build/**", "next-env.d.ts"],
11+
"rules": {
12+
"@next/next/google-font-display": "warn",
13+
"@next/next/google-font-preconnect": "warn",
14+
"@next/next/next-script-for-ga": "warn",
15+
"@next/next/no-async-client-component": "warn",
16+
"@next/next/no-before-interactive-script-outside-document": "warn",
17+
"@next/next/no-css-tags": "warn",
18+
"@next/next/no-head-element": "warn",
19+
"@next/next/no-html-link-for-pages": "error",
20+
"@next/next/no-img-element": "warn",
21+
"@next/next/no-page-custom-font": "warn",
22+
"@next/next/no-styled-jsx-in-document": "warn",
23+
"@next/next/no-sync-scripts": "error",
24+
"@next/next/no-title-in-document-head": "warn",
25+
"@next/next/no-typos": "warn",
26+
"@next/next/no-unwanted-polyfillio": "warn",
27+
"@next/next/inline-script-id": "error",
28+
"@next/next/no-assign-module-variable": "error",
29+
"@next/next/no-document-import-in-page": "error",
30+
"@next/next/no-duplicate-head": "error",
31+
"@next/next/no-head-import-in-document": "error",
32+
"@next/next/no-script-component-in-head": "error",
33+
"@typescript-eslint/ban-ts-comment": "error",
34+
"no-array-constructor": "error",
35+
"@typescript-eslint/no-duplicate-enum-values": "error",
36+
"@typescript-eslint/no-empty-object-type": "error",
37+
"@typescript-eslint/no-explicit-any": "error",
38+
"@typescript-eslint/no-extra-non-null-assertion": "error",
39+
"@typescript-eslint/no-misused-new": "error",
40+
"@typescript-eslint/no-namespace": "error",
41+
"@typescript-eslint/no-non-null-asserted-optional-chain": "error",
42+
"@typescript-eslint/no-require-imports": "error",
43+
"@typescript-eslint/no-this-alias": "error",
44+
"@typescript-eslint/no-unnecessary-type-constraint": "error",
45+
"@typescript-eslint/no-unsafe-declaration-merging": "error",
46+
"@typescript-eslint/no-unsafe-function-type": "error",
47+
"no-unused-expressions": "warn",
48+
"no-unused-vars": "warn",
49+
"@typescript-eslint/no-wrapper-object-types": "error",
50+
"@typescript-eslint/prefer-as-const": "error",
51+
"@typescript-eslint/prefer-namespace-keyword": "error",
52+
"@typescript-eslint/triple-slash-reference": "error",
53+
"@typescript-eslint/consistent-type-imports": "error",
54+
"no-console": "error"
55+
},
56+
"overrides": [
57+
{
58+
"files": ["**/*.{js,jsx,mjs,ts,tsx,mts,cts}"],
59+
"rules": {
60+
"react/display-name": "error",
61+
"react/jsx-key": "error",
62+
"react/jsx-no-comment-textnodes": "error",
63+
"react/jsx-no-duplicate-props": "error",
64+
"react/jsx-no-target-blank": "off",
65+
"react/jsx-no-undef": "error",
66+
"react/no-children-prop": "error",
67+
"react/no-danger-with-children": "error",
68+
"react/no-direct-mutation-state": "error",
69+
"react/no-find-dom-node": "error",
70+
"react/no-is-mounted": "error",
71+
"react/no-render-return-value": "error",
72+
"react/no-string-refs": "error",
73+
"react/no-unescaped-entities": "error",
74+
"react/no-unknown-property": "off",
75+
"react/no-unsafe": "off",
76+
"react/react-in-jsx-scope": "off",
77+
"react-hooks/rules-of-hooks": "error",
78+
"react-hooks/exhaustive-deps": "warn",
79+
"import/no-anonymous-default-export": "warn",
80+
"jsx-a11y/alt-text": [
81+
"warn",
82+
{
83+
"elements": ["img"],
84+
"img": ["Image"]
85+
}
86+
],
87+
"jsx-a11y/aria-props": "warn",
88+
"jsx-a11y/aria-proptypes": "warn",
89+
"jsx-a11y/aria-unsupported-elements": "warn",
90+
"jsx-a11y/role-has-required-aria-props": "warn",
91+
"jsx-a11y/role-supports-aria-props": "warn"
92+
},
93+
"globals": {
94+
"AudioWorkletGlobalScope": "readonly",
95+
"AudioWorkletProcessor": "readonly",
96+
"currentFrame": "readonly",
97+
"currentTime": "readonly",
98+
"registerProcessor": "readonly",
99+
"sampleRate": "readonly",
100+
"WorkletGlobalScope": "readonly"
101+
},
102+
"plugins": ["react", "import", "jsx-a11y"],
103+
"env": {
104+
"browser": true,
105+
"node": true
106+
}
107+
},
108+
{
109+
"files": ["**/*.ts", "**/*.tsx", "**/*.mts", "**/*.cts"],
110+
"rules": {
111+
"constructor-super": "off",
112+
"no-class-assign": "off",
113+
"no-const-assign": "off",
114+
"no-dupe-class-members": "off",
115+
"no-dupe-keys": "off",
116+
"no-func-assign": "off",
117+
"no-import-assign": "off",
118+
"no-new-native-nonconstructor": "off",
119+
"no-obj-calls": "off",
120+
"no-redeclare": "off",
121+
"no-setter-return": "off",
122+
"no-this-before-super": "off",
123+
"no-unsafe-negation": "off",
124+
"no-var": "error",
125+
"no-with": "off",
126+
"prefer-const": "error",
127+
"prefer-rest-params": "error",
128+
"prefer-spread": "error"
129+
}
130+
}
131+
]
132+
}

apps/docs/components.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,4 +18,4 @@
1818
"hooks": "@/hooks"
1919
},
2020
"iconLibrary": "lucide"
21-
}
21+
}

apps/docs/eslint.config.mjs

Lines changed: 0 additions & 24 deletions
This file was deleted.

0 commit comments

Comments
 (0)