diff --git a/frontend/.oxlint.json b/frontend/.oxlint.json new file mode 100644 index 000000000..1e62c6938 --- /dev/null +++ b/frontend/.oxlint.json @@ -0,0 +1,13 @@ +{ + "env": { + "browser": true + }, + "settings": {}, + "rules": { + "no-unused-vars": "allow", + "import/namespace": "warn", + "import/no-cycle": "warn", + "import/named": "warn", + "import/default": "warn" + } +} diff --git a/frontend/package.json b/frontend/package.json index 479923515..6b0230c75 100644 --- a/frontend/package.json +++ b/frontend/package.json @@ -11,7 +11,7 @@ "previewBuild": "nuxt build && nuxt preview", "lint:eslint": "eslint --ext \".js,.vue,.ts,.html\" --ignore-path .gitignore --fix .", "lint:prettier": "prettier -w .", - "lint:oxlint": "oxlint --import-plugin -W correctness -W import/namespace -W import/no-cycle -A no-unused-vars --fix", + "lint:oxlint": "oxlint -c .oxlint.json --import-plugin --fix", "lint:typecheck": "nuxt typecheck", "prepare": "nuxt prepare && cd .. && husky install frontend/.husky" },