mirror of
https://github.com/VueTubeApp/VueTube
synced 2024-11-01 09:22:39 +00:00
25 lines
571 B
JavaScript
25 lines
571 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', { semi: false }],
|
||
|
// semi: [2, 'never'],
|
||
|
},
|
||
|
};
|