家政小程序
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

12345678910111213141516171819202122232425262728293031323334353637383940414243
  1. module.exports = {
  2. "env": {
  3. "browser": true,
  4. "commonjs": true,
  5. "es6": true
  6. },
  7. "extends": "eslint:recommended",
  8. "parserOptions": {
  9. "ecmaVersion": 6,
  10. "sourceType": "module",
  11. "ecmaFeatures": {
  12. "experimentalObjectRestSpread": true
  13. }
  14. },
  15. "rules": {
  16. "indent": [2, 4, {
  17. "SwitchCase": 1
  18. }
  19. ],
  20. "linebreak-style": [
  21. "off",
  22. "windows"
  23. ],
  24. "quotes": [
  25. "error",
  26. "single"
  27. ],
  28. "semi": [
  29. "error",
  30. "always"
  31. ]
  32. },
  33. "globals": {
  34. "wx": false,
  35. "Component": false,
  36. "Page": false,
  37. "App": false,
  38. "getCurrentPages": false,
  39. "Promise": false,
  40. "getApp": false
  41. }
  42. };