.eslintrc 473 B

12345678910111213141516171819202122232425
  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-constant-condition": ["error", {
  14. "checkLoops": false
  15. }],
  16. "no-empty": ["error", {
  17. "allowEmptyCatch": true
  18. }],
  19. "no-unused-vars": ["error", {
  20. "argsIgnorePattern": "^_",
  21. "destructuredArrayIgnorePattern": "^"
  22. }]
  23. }
  24. }