chore: Setup missing oxlint configs (#9862)

* shared

* server

* app

* remove vestigial eslintrc files

* update comment directives
This commit is contained in:
Hemachandar
2025-08-07 05:24:22 +05:30
committed by GitHub
parent f41f93d6c9
commit 04c3d81b1f
78 changed files with 192 additions and 203 deletions
+4 -33
View File
@@ -1,9 +1,5 @@
{
"$schema": "./node_modules/oxlint/configuration_schema.json",
"plugins": ["eslint", "typescript"],
"env": {
"builtin": true
},
"ignorePatterns": [
"build/**",
"node_modules/**",
@@ -35,6 +31,7 @@
"no-empty-pattern": "error",
"no-empty-static-block": "error",
"no-ex-assign": "error",
"no-explicit-any": "warn",
"no-extra-boolean-cast": "error",
"no-fallthrough": "error",
"no-func-assign": "error",
@@ -71,31 +68,12 @@
},
"overrides": [
{
"files": [
"**/*.{js,jsx,ts,tsx}"
],
"files": ["**/*.{js,jsx,ts,tsx}"],
"rules": {
"no-restricted-imports": [
"error",
{
"paths": [
{
"name": "reakit/Menu",
"importNames": [
"useMenuState"
],
"message": "Do not use useMenuState from reakit/Menu. Use useMenuState instead."
}
]
}
],
"eqeqeq": "error",
"curly": "error",
"no-console": "error",
"arrow-body-style": [
"error",
"as-needed"
],
"arrow-body-style": ["error", "as-needed"],
"no-useless-escape": "off",
"react/react-in-jsx-scope": "off",
"react/self-closing-comp": [
@@ -106,7 +84,6 @@
}
],
"@typescript-eslint/no-require-imports": "off",
"@typescript-eslint/no-explicit-any": "off",
"import/no-named-as-default": "off",
"import/no-named-as-default-member": "off",
"no-unused-vars": [
@@ -119,13 +96,7 @@
}
]
},
"plugins": [
"eslint",
"oxc",
"react",
"typescript",
"import"
]
"plugins": ["eslint", "oxc", "react", "typescript", "import"]
}
]
}