.eslintrc 602 B

123456789101112131415161718192021222324252627282930313233343536
  1. {
  2. "root": true,
  3. "env": {
  4. "browser": true,
  5. "amd": true,
  6. "node": true,
  7. "es6": true,
  8. "jquery": true
  9. },
  10. "parserOptions": {
  11. "ecmaVersion": 2018,
  12. "sourceType": "module",
  13. "parser": "babel-eslint"
  14. },
  15. "extends": [
  16. "airbnb-base",
  17. "plugin:vue/essential",
  18. "plugin:prettier/recommended",
  19. "eslint:recommended"
  20. ],
  21. "globals": {
  22. "lofig": "writable",
  23. "grecaptcha": "readonly",
  24. "ga": "readonly",
  25. "moment": "readonly"
  26. },
  27. "rules": {
  28. "no-console": 0,
  29. "no-control-regex": 0,
  30. "no-var": 2,
  31. "no-underscore-dangle": 0,
  32. "radix": 0,
  33. "no-multi-assign": 0,
  34. "no-shadow": 0
  35. }
  36. }