.eslintrc 531 B

1234567891011121314151617181920212223242526272829303132
  1. {
  2. "env": {
  3. "es6": true,
  4. "node": true,
  5. "mocha": true,
  6. "browser": true
  7. },
  8. "plugins": [
  9. "html"
  10. ],
  11. "parserOptions": {
  12. "sourceType": "module"
  13. },
  14. "globals": {
  15. "weex": true,
  16. "Vue": true
  17. },
  18. "rules": {
  19. "semi": "off",
  20. "indent": 0,
  21. "quotes": [ "error", "single" ],
  22. "no-control-regex": 0,
  23. "no-extend-native": 0,
  24. "handle-callback-err": 0,
  25. "camelcase": 0,
  26. "no-return-assign": [ 2, "except-parens" ]
  27. },
  28. "extends": [
  29. "vue"
  30. ],
  31. "parser": "babel-eslint"
  32. }