@adbayb/stack 2.40.0-next-4c238fc → 2.40.0-next-d2a93ae
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/configs/oxlint/index.ts +5 -0
- package/dist/index.js +1 -1
- package/package.json +1 -1
package/configs/oxlint/index.ts
CHANGED
|
@@ -62,6 +62,7 @@ export default defineConfig({
|
|
|
62
62
|
],
|
|
63
63
|
// TODO: add jsPlugins for perfectionist and padding-line-between-statements + add React rules (such as set-state-in-effect) from React X https://github.com/oxc-project/oxc/issues/1022 + potentially https://github.com/es-tooling/eslint-plugin-depend/blob/main/docs/rules/ban-dependencies.md
|
|
64
64
|
plugins: [
|
|
65
|
+
// TODO: check perfectionist sorting here
|
|
65
66
|
"eslint",
|
|
66
67
|
"import",
|
|
67
68
|
"jsdoc",
|
|
@@ -93,6 +94,10 @@ export default defineConfig({
|
|
|
93
94
|
"max-lines": "off",
|
|
94
95
|
"max-lines-per-function": "off",
|
|
95
96
|
"max-statements": "off",
|
|
97
|
+
"nextjs/google-font-display": "error",
|
|
98
|
+
"nextjs/google-font-preconnect": "error",
|
|
99
|
+
"nextjs/no-sync-scripts": "error",
|
|
100
|
+
"nextjs/no-unwanted-polyfillio": "error",
|
|
96
101
|
"no-async-await": "off",
|
|
97
102
|
"no-continue": "off",
|
|
98
103
|
"no-magic-numbers": "off",
|
package/dist/index.js
CHANGED