forked from Mirrors/swingmusic-webclient
28 lines
705 B
JavaScript
28 lines
705 B
JavaScript
module.exports = {
|
|
root: true,
|
|
env: {
|
|
es2021: true,
|
|
},
|
|
extends: [
|
|
"eslint:recommended",
|
|
"plugin:vue/vue3-essential",
|
|
"plugin:vue/vue3-recommended",
|
|
"plugin:vue/vue3-strongly-recommended",
|
|
"prettier",
|
|
],
|
|
rules: {
|
|
"no-console": process.env.NODE_ENV === "production" ? "warn" : "off",
|
|
"no-debugger": process.env.NODE_ENV === "production" ? "warn" : "off",
|
|
"vue/multi-word-component-names": "off",
|
|
"vue/v-on-event-hyphenation": "off",
|
|
"vue/no-v-html": "off",
|
|
"no-unused-vars": "off",
|
|
"vue/prop-name-casing": "off",
|
|
},
|
|
parser: "vue-eslint-parser",
|
|
parserOptions: {
|
|
parser: "@typescript-eslint/parser",
|
|
sourceType: "module",
|
|
},
|
|
};
|