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.
 
 
 
 

24 lines
574 B

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