.eslintrc 592 B

123456789101112131415161718192021222324252627
  1. {
  2. "root": true,
  3. "env": {
  4. "node": true
  5. },
  6. "parserOptions": {
  7. "parser": "babel-eslint"
  8. },
  9. "extends": [
  10. "plugin:vue/essential",
  11. "plugin:react/recommended",
  12. "plugin:prettier/recommended",
  13. "eslint:recommended"
  14. ],
  15. "rules": {
  16. "object-shorthand": ["error", "always"],
  17. "vue/v-bind-style": ["error", "shorthand"],
  18. "vue/v-on-style": ["error", "shorthand"],
  19. "vue/component-name-in-template-casing": ["error", "kebab-case"],
  20. "vue/prop-name-casing": ["error", "camelCase"]
  21. },
  22. "settings": {
  23. "react": {
  24. "version": "16.8.3"
  25. }
  26. }
  27. }