@@ -6,41 +6,46 @@ module.exports = {
66 parserOptions : {
77 parser : "babel-eslint" ,
88 } ,
9- extends : [
10- "plugin:vue/essential" ,
11- "eslint:recommended" ,
12- ] ,
9+ extends : [ "plugin:vue/essential" , "eslint:recommended" ] ,
1310 rules : {
11+ "vue/multi-word-component-names" : "off" ,
1412 // 'no-console': process.env.NODE_ENV === 'production' ? 'error' : 'off',
1513 "no-debugger" : process . env . NODE_ENV === "production" ? "error" : "off" ,
1614
1715 "no-await-in-loop" : "warn" ,
1816 "no-compare-neg-zero" : "error" ,
19- "no-extra-parens" : [ "warn" , "all" , {
20- nestedBinaryExpressions : false ,
21- } ] ,
17+ "no-extra-parens" : [
18+ "warn" ,
19+ "all" ,
20+ {
21+ nestedBinaryExpressions : false ,
22+ } ,
23+ ] ,
2224 "no-template-curly-in-string" : "error" ,
2325 "no-unsafe-negation" : "error" ,
24- "valid-jsdoc" : [ "error" , {
25- requireReturn : false ,
26- requireReturnDescription : false ,
27- prefer : {
28- return : "returns" ,
29- arg : "param" ,
30- } ,
31- preferType : {
32- String : "string" ,
33- Number : "number" ,
34- Boolean : "boolean" ,
35- Symbol : "symbol" ,
36- object : "Object" ,
37- function : "Function" ,
38- array : "Array" ,
39- date : "Date" ,
40- error : "Error" ,
41- null : "void" ,
26+ "valid-jsdoc" : [
27+ "error" ,
28+ {
29+ requireReturn : false ,
30+ requireReturnDescription : false ,
31+ prefer : {
32+ return : "returns" ,
33+ arg : "param" ,
34+ } ,
35+ preferType : {
36+ String : "string" ,
37+ Number : "number" ,
38+ Boolean : "boolean" ,
39+ Symbol : "symbol" ,
40+ object : "Object" ,
41+ function : "Function" ,
42+ array : "Array" ,
43+ date : "Date" ,
44+ error : "Error" ,
45+ null : "void" ,
46+ } ,
4247 } ,
43- } ] ,
48+ ] ,
4449
4550 "accessor-pairs" : "warn" ,
4651 "array-callback-return" : "error" ,
0 commit comments