.oxlintrc.json 556 B

1234567891011121314151617181920212223242526
  1. {
  2. "$schema": "./node_modules/oxlint/configuration_schema.json",
  3. "extends": ["config:recommended"],
  4. "plugins": ["import", "typescript", "unicorn"],
  5. "rules": {
  6. "no-console": "off",
  7. "no-unused-vars": "off"
  8. },
  9. "env": {
  10. "es6": true
  11. },
  12. "globals": {
  13. "foo": "readonly"
  14. },
  15. "ignorePatterns": ["node_modules", "dist", "src/static/**", "src/uni_modules/**"],
  16. "settings": {},
  17. "overrides": [
  18. {
  19. "files": ["*.test.ts", "*.spec.ts"],
  20. "rules": {
  21. "@typescript-eslint/no-explicit-any": "off"
  22. }
  23. }
  24. ]
  25. }