@@ -7,19 +7,15 @@ module.exports = {
77 'eslint:recommended' ,
88 'plugin:vue/recommended' ,
99 ] ,
10- globals : {
11- socket : true ,
12- PDFObject : true ,
13- } ,
1410 parser : 'vue-eslint-parser' ,
1511 parserOptions : {
16- parser : '@babel/eslint-parser' ,
17- ecmaVersion : 12 ,
18- sourceType : 'module' ,
1912 ecmaFeatures : {
2013 jsx : true ,
2114 } ,
15+ ecmaVersion : 12 ,
16+ parser : '@babel/eslint-parser' ,
2217 requireConfigFile : false ,
18+ sourceType : 'module' ,
2319 } ,
2420 plugins : [
2521 'import' ,
@@ -60,7 +56,7 @@ module.exports = {
6056 'no-console' : [ 'warn' , { allow : [ 'warn' , 'error' ] } ] ,
6157 'no-debugger' : 0 ,
6258 'no-else-return' : [ 'error' , { allowElseIf : true } ] ,
63- 'no-multiple-empty-lines' : [ 'error' , { ' max' : 2 , ' maxEOF' : 0 } ] ,
59+ 'no-multiple-empty-lines' : [ 'error' , { max : 2 , maxEOF : 0 } ] ,
6460 'no-new' : 0 ,
6561 'no-param-reassign' : [
6662 'error' , {
@@ -93,23 +89,23 @@ module.exports = {
9389 enforceForRenamedProperties : false ,
9490 } ,
9591 ] ,
96- ' quotes' : [ 'error' , 'single' , { avoidEscape : true } ] ,
97- ' semi' : [ 'error' , 'always' ] ,
92+ quotes : [ 'error' , 'single' , { avoidEscape : true } ] ,
93+ semi : [ 'error' , 'always' ] ,
9894 'sort-imports' : [ 'error' , {
99- ' allowSeparatedGroups' : false ,
100- ' ignoreCase' : true ,
101- ' ignoreDeclarationSort' : true ,
102- ' ignoreMemberSort' : false ,
103- ' memberSyntaxSortOrder' : [ 'none' , 'single' , 'all' , 'multiple' ] ,
95+ allowSeparatedGroups : false ,
96+ ignoreCase : true ,
97+ ignoreDeclarationSort : true ,
98+ ignoreMemberSort : false ,
99+ memberSyntaxSortOrder : [ 'none' , 'single' , 'all' , 'multiple' ] ,
104100 } ] ,
105101 'space-before-function-paren' : [ 'error' , {
106102 anonymous : 'never' ,
107103 asyncArrow : 'never' ,
108104 named : 'never' ,
109105 } ] ,
110106 'vue/attributes-order' : [ 'error' , {
111- ' alphabetical' : true ,
112- ' order' : [
107+ alphabetical : true ,
108+ order : [
113109 'DEFINITION' ,
114110 'LIST_RENDERING' ,
115111 'CONDITIONALS' ,
@@ -124,7 +120,7 @@ module.exports = {
124120 ] ,
125121 } ] ,
126122 'vue/component-tags-order' : [ 'error' , {
127- ' order' : [ 'template' , 'script' , 'style' ] ,
123+ order : [ 'template' , 'script' , 'style' ] ,
128124 } ] ,
129125 'vue/html-closing-bracket-newline' : 0 ,
130126 'vue/html-comment-content-spacing' : [ 'error' ,
@@ -138,7 +134,7 @@ module.exports = {
138134 'vue/no-v-html' : 0 ,
139135 'vue/no-v-text-v-html-on-component' : 0 ,
140136 'vue/order-in-components' : [ 'error' , {
141- ' order' : [
137+ order : [
142138 'el' ,
143139 'name' ,
144140 'key' ,
@@ -187,12 +183,5 @@ module.exports = {
187183 'vue/padding-line-between-blocks' : 1 ,
188184 'vue/require-name-property' : 1 ,
189185 'vue/singleline-html-element-content-newline' : 0 ,
190- 'vue/sort-keys' : [ 'warn' , 'asc' , {
191- caseSensitive : true ,
192- ignoreChildrenOf : [ 'model' , 'defineProps' ] ,
193- ignoreGrandchildrenOf : [ 'computed' , 'directives' , 'inject' , 'props' , 'watch' , 'defineProps' ] ,
194- minKeys : 2 ,
195- natural : true ,
196- } ] ,
197186 } ,
198187} ;
0 commit comments