.eslintrc.json 574 B

123456789101112131415161718192021222324252627
  1. {
  2. "env": {
  3. "es2021": true,
  4. "node": true
  5. },
  6. "extends": "eslint:recommended",
  7. "parserOptions": {
  8. "ecmaVersion": "latest",
  9. "sourceType": "module"
  10. },
  11. "rules": {
  12. "indent": ["off"],
  13. "no-empty": ["error", {
  14. "allowEmptyCatch": true
  15. }],
  16. "no-unexpected-multiline": ["off"],
  17. "no-unused-labels": ["off"],
  18. "no-unused-vars": ["error", {
  19. "argsIgnorePattern": "^_",
  20. "destructuredArrayIgnorePattern": "^"
  21. }],
  22. "no-cond-assign": ["off"],
  23. "no-constant-condition": ["off"],
  24. "no-unsafe-finally": ["off"]
  25. }
  26. }