Line | |
---|
1 | module.exports = {
|
---|
2 | root: true,
|
---|
3 | env: {
|
---|
4 | node: true
|
---|
5 | },
|
---|
6 | extends: [
|
---|
7 | "plugin:vue/vue3-essential",
|
---|
8 | 'eslint:recommended'
|
---|
9 | ],
|
---|
10 | parserOptions: {
|
---|
11 | parser: "@babel/eslint-parser"
|
---|
12 | },
|
---|
13 | rules: {
|
---|
14 | "no-debugger": process.env.NODE_ENV === "production" ? "warn" : "off",
|
---|
15 | "space-before-function-paren": "off",
|
---|
16 | "semi": "off",
|
---|
17 | "indent": [ "error", 4 ],
|
---|
18 | "quotes": [ "error", "double" ],
|
---|
19 | "array-bracket-spacing": [ "error", "always" ],
|
---|
20 | "brace-style": "off",
|
---|
21 | "generator-star-spacing": [ "error", "after" ],
|
---|
22 | "object-shorthand": "off"
|
---|
23 | }
|
---|
24 | }
|
---|
Note:
See
TracBrowser
for help on using the repository browser.