2022-02-16 15:42:50 +01:00
|
|
|
module.exports = {
|
|
|
|
root: true,
|
|
|
|
env: {
|
|
|
|
node: true,
|
|
|
|
},
|
|
|
|
extends: ["plugin:vue/vue3-essential", "eslint:recommended", "@vue/prettier"],
|
|
|
|
parserOptions: {
|
2022-03-26 18:55:48 +01:00
|
|
|
parser: '@babel/eslint-parser',
|
2022-02-16 15:42:50 +01:00
|
|
|
},
|
|
|
|
rules: {
|
|
|
|
"no-console": process.env.NODE_ENV === "production" ? "warn" : "off",
|
|
|
|
"no-debugger": process.env.NODE_ENV === "production" ? "warn" : "off",
|
|
|
|
},
|
|
|
|
};
|