123456789101112131415161718192021222324252627282930 |
- module.exports = {
- root: true,
- env: {
- node: true,
- browser: true,
- },
- extends: ["plugin:vue/essential", "eslint:recommended"],
- parserOptions: {
- parser: "babel-eslint",
- sourceType: "module",
- },
- rules: {
- "no-console": process.env.NODE_ENV === "production" ? "warn" : "off",
- "no-debugger": process.env.NODE_ENV === "production" ? "warn" : "off",
- "vue/no-unused-vars": "warn",
- "vue/require-prop-types": "off",
- "vue/require-default-prop": "off",
- "vue/max-attributes-per-line": "off",
- "vue/html-closing-bracket-spacing": "off",
- "vue/html-indent": "off",
- "vue/no-parsing-error": "off",
- "no-trailing-spaces": "warn",
- "no-multiple-empty-lines": "warn",
- "space-before-function-paren": "off",
- "comma-dangle": "off",
- semi: "off",
- quotes: "off",
- eqeqeq: "warn",
- },
- };
|