ovdashboard/ui/.eslintrc.js

19 lines
385 B
JavaScript
Raw Permalink Normal View History

2022-09-09 16:23:04 +00:00
module.exports = {
root: true,
env: {
2023-10-26 22:34:38 +00:00
node: true,
2022-09-09 16:23:04 +00:00
},
2023-10-26 22:34:38 +00:00
extends: [
"plugin:vue/essential",
"eslint:recommended",
"@vue/typescript/recommended",
2022-09-09 16:23:04 +00:00
],
parserOptions: {
2023-10-26 22:34:38 +00:00
ecmaVersion: 2020,
2022-09-09 16:23:04 +00:00
},
rules: {
2023-10-26 22:34:38 +00:00
"no-console": process.env.NODE_ENV === "production" ? "warn" : "off",
"no-debugger": process.env.NODE_ENV === "production" ? "warn" : "off",
},
};