aboutsummaryrefslogtreecommitdiffstats
path: root/packages/shared-react/.oxlintrc.json
diff options
context:
space:
mode:
Diffstat (limited to 'packages/shared-react/.oxlintrc.json')
-rw-r--r--packages/shared-react/.oxlintrc.json34
1 files changed, 34 insertions, 0 deletions
diff --git a/packages/shared-react/.oxlintrc.json b/packages/shared-react/.oxlintrc.json
new file mode 100644
index 00000000..91dc201f
--- /dev/null
+++ b/packages/shared-react/.oxlintrc.json
@@ -0,0 +1,34 @@
+{
+ "$schema": "../../node_modules/oxlint/configuration_schema.json",
+ "extends": [
+ "../../tooling/oxlint/oxlint-base.json",
+ "../../tooling/oxlint/oxlint-react.json"
+ ],
+ "categories": {
+ "correctness": "warn"
+ },
+ "env": {
+ "builtin": true,
+ "commonjs": true,
+ "browser": true,
+ "es2022": true,
+ "node": true
+ },
+ "globals": {
+ "React": "writeable"
+ },
+ "settings": {
+ "react": {
+ "version": "detect"
+ }
+ },
+ "ignorePatterns": [
+ "**/*.config.js",
+ "**/*.config.cjs",
+ "**/.eslintrc.cjs",
+ ".next",
+ "dist",
+ "build",
+ "pnpm-lock.yaml"
+ ]
+}