0
0
Fork 0
mirror of https://github.com/VueTubeApp/VueTube synced 2024-11-16 16:25:17 +00:00
VueTube/NUXT/.eslintrc.js
2023-04-18 10:17:23 +12:00

25 lines
627 B
JavaScript

module.exports = {
root: true,
env: {
node: true,
browser: true,
},
parserOptions: {
parser: "babel-eslint",
},
extends: [
"prettier",
"eslint:recommended",
"plugin:vue/recommended",
"plugin:prettier/recommended",
],
plugins: ["vue"],
rules: {
"vue/multi-word-component-names": 0,
"no-console": process.env.NODE_ENV === "production" ? "warn" : "off",
"no-debugger": process.env.NODE_ENV === "production" ? "warn" : "off",
"prettier/prettier": ["error", {endOfLine: "auto"}]
// 'prettier/prettier': ['error', { semi: false }],
// semi: [2, 'never'],
},
};