方诺官网改正版
Nevar pievienot vairāk kā 25 tēmas Tēmai ir jāsākas ar burtu vai ciparu, tā var saturēt domu zīmes ('-') un var būt līdz 35 simboliem gara.

pirms 4 gadiem
pirms 4 gadiem
pirms 4 gadiem
pirms 4 gadiem
123456789101112131415161718192021222324252627282930313233343536373839
  1. module.exports = {
  2. root: true,
  3. env: {
  4. node: true,
  5. browser: true
  6. },
  7. extends: [
  8. "plugin:vue/recommended",
  9. "eslint:recommended",
  10. "prettier/vue",
  11. "plugin:prettier/recommended"
  12. ],
  13. rules: {
  14. "vue/component-name-in-template-casing": ["error", "PascalCase"],
  15. "no-console": process.env.NODE_ENV === "production" ? "error" : "off",
  16. "no-debugger": process.env.NODE_ENV === "production" ? "error" : "off",
  17. //强制使用单引号
  18. quotes: [0, 'single'],
  19. //强制不使用分号结尾
  20. semi: [0, 'never'],
  21. 'prettier/prettier': [
  22. 0,
  23. {
  24. singleQuote: true,
  25. trailingComma: 'none',
  26. bracketSpacing: true,
  27. jsxBracketSameLine: true,
  28. parser: 'flow',
  29. },
  30. ],
  31. },
  32. globals: {
  33. cash: true,
  34. $nuxt: true
  35. },
  36. parserOptions: {
  37. parser: "babel-eslint"
  38. }
  39. };