.eslintrc.json 436 B

12345678910111213141516171819202122
  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-unexpected-multiline": ["off"],
  14. "no-unused-labels": ["off"],
  15. "no-unused-vars": ["error", {
  16. "argsIgnorePattern": "^_",
  17. "destructuredArrayIgnorePattern": "^"
  18. }],
  19. "no-cond-assign": ["off"]
  20. }
  21. }