.eslintrc.json 788 B

12345678910111213141516171819202122232425262728
  1. {
  2. "plugins": ["jest", "node", "prettier"],
  3. "extends": [
  4. "eslint:recommended",
  5. "plugin:prettier/recommended",
  6. "prettier/standard",
  7. "plugin:node/recommended",
  8. "plugin:jest/all"
  9. ],
  10. "parserOptions": {
  11. "ecmaVersion": 2020
  12. },
  13. "rules": {
  14. "prettier/prettier": ["error", {
  15. "singleQuote": true,
  16. "bracketSpacing": false,
  17. "trailingComma": "es5",
  18. "useTabs": true,
  19. "printWidth": 120,
  20. "endOfLine":"auto"
  21. }
  22. ],
  23. "jest/prefer-expect-assertions": "off",
  24. "jest/expect-expect": "off",
  25. "jest/no-hooks": "off",
  26. "jest/prefer-inline-snapshots": "off"
  27. }
  28. }