.eslintrc 551 B

12345678910111213141516171819202122232425262728293031323334353637383940414243
  1. {
  2. "extends": [
  3. "egg"
  4. ],
  5. "globals": {
  6. "$": true,
  7. "_": true
  8. },
  9. "parser": "babel-eslint",
  10. "parserOptions": {
  11. "sourceType": "module"
  12. },
  13. "plugins": [
  14. "html"
  15. ],
  16. "rules": {
  17. "no-console": [
  18. "error",
  19. {
  20. "allow": [
  21. "warn",
  22. "error"
  23. ]
  24. }
  25. ],
  26. "no-bitwise": [
  27. 0
  28. ],
  29. "experimentalDecorators": [
  30. 0
  31. ],
  32. "comma-dangle": [
  33. "error",
  34. "never"
  35. ],
  36. "linebreak-style": [
  37. 0
  38. ],
  39. "no-loop-func": [
  40. 0
  41. ]
  42. }
  43. }