You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
26 lines
694 B
JavaScript
26 lines
694 B
JavaScript
module.exports = {
|
|
parserOptions: {
|
|
parser: "@babel/eslint-parser",
|
|
},
|
|
root: true,
|
|
env: {
|
|
node: true,
|
|
},
|
|
extends: [
|
|
"plugin:vue/recommended",
|
|
"eslint:recommended",
|
|
"prettier",
|
|
"plugin:prettier/recommended",
|
|
],
|
|
rules: {
|
|
"vue/component-name-in-template-casing": ["error", "PascalCase"],
|
|
"vue/multi-word-component-names": process.env.NODE_ENV === "production" ? "warn" : "off",
|
|
"no-console": process.env.NODE_ENV === "production" ? "warn" : "off",
|
|
"no-debugger": process.env.NODE_ENV === "production" ? "error" : "off",
|
|
"no-unused-vars": process.env.NODE_ENV === "production" ? "off" : "warn",
|
|
},
|
|
globals: {
|
|
$nuxt: true,
|
|
},
|
|
};
|