app模板、应用模板、组件模板、widget模板
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.

21 lines
508 B

4 years ago
4 years ago
4 years ago
  1. module.exports = {
  2. root: true,
  3. env: {
  4. node: true
  5. },
  6. extends: [
  7. "plugin:vue/essential",
  8. "eslint:recommended",
  9. "@vue/prettier",
  10. "plugin:vue-scoped-css/all"
  11. ],
  12. parserOptions: {
  13. parser: "babel-eslint"
  14. },
  15. rules: {
  16. "no-console": process.env.NODE_ENV === "production" ? "warn" : "off",
  17. "no-debugger": process.env.NODE_ENV === "production" ? "warn" : "off",
  18. "vue-scoped-css/enforce-style-type": ["error", { allows: ['scoped'] }],
  19. "prettier/prettier": 0
  20. }
  21. };