@@ -3,12 +3,12 @@ module.exports = {
33 plugins : [ "import" ] ,
44 parserOptions : {
55 ecmaVersion : 2019 ,
6- sourceType : "module"
6+ sourceType : "module" ,
77 } ,
88 env : {
99 browser : true ,
1010 es6 : true ,
11- commonjs : true
11+ commonjs : true ,
1212 } ,
1313 rules : {
1414 // =======
@@ -38,8 +38,8 @@ module.exports = {
3838 "error" ,
3939 {
4040 allowShortCircuit : true ,
41- allowTernary : true
42- }
41+ allowTernary : true ,
42+ } ,
4343 ] ,
4444 "no-useless-concat" : "error" ,
4545 "no-void" : "error" ,
@@ -64,8 +64,8 @@ module.exports = {
6464 "valid-typeof" : [
6565 "error" ,
6666 {
67- requireStringLiterals : true
68- }
67+ requireStringLiterals : true ,
68+ } ,
6969 ] ,
7070 // for-direction
7171 // getter-return
@@ -103,8 +103,8 @@ module.exports = {
103103 "error" ,
104104 {
105105 vars : "local" ,
106- args : "none"
107- }
106+ args : "none" ,
107+ } ,
108108 ] ,
109109 // no-delete-var
110110 // no-undef
@@ -114,8 +114,8 @@ module.exports = {
114114 "no-confusing-arrow" : [
115115 "error" ,
116116 {
117- allowParens : true
118- }
117+ allowParens : true ,
118+ } ,
119119 ] ,
120120 "no-useless-computed-key" : "error" ,
121121 "no-useless-rename" : "error" ,
@@ -155,17 +155,17 @@ module.exports = {
155155 "warn" ,
156156 "always" ,
157157 {
158- null : "ignore"
159- }
158+ null : "ignore" ,
159+ } ,
160160 ] ,
161161 "guard-for-in" : "warn" ,
162162 "no-div-regex" : "warn" ,
163163 "no-else-return" : "warn" ,
164164 "no-empty-function" : [
165165 "warn" ,
166166 {
167- allow : [ "arrowFunctions" , "functions" , "methods" ]
168- }
167+ allow : [ "arrowFunctions" , "functions" , "methods" ] ,
168+ } ,
169169 ] ,
170170 "no-extra-label" : "warn" ,
171171 "no-invalid-this" : "warn" ,
@@ -194,8 +194,8 @@ module.exports = {
194194 "warn" ,
195195 {
196196 destructuring : "all" ,
197- ignoreReadBeforeAssign : true
198- }
197+ ignoreReadBeforeAssign : true ,
198+ } ,
199199 ] ,
200200 "prefer-spread" : "warn" ,
201201 "rest-spread-spacing" : "warn" ,
@@ -223,8 +223,8 @@ module.exports = {
223223 "warn" ,
224224 {
225225 max : 2 ,
226- maxEOF : 1
227- }
226+ maxEOF : 1 ,
227+ } ,
228228 ] ,
229229 "no-nested-ternary" : "warn" ,
230230 "no-trailing-spaces" : "warn" ,
@@ -235,17 +235,17 @@ module.exports = {
235235 "object-property-newline" : [
236236 "warn" ,
237237 {
238- allowAllPropertiesOnSameLine : true
239- }
238+ allowAllPropertiesOnSameLine : true ,
239+ } ,
240240 ] ,
241241 "one-var-declaration-per-line" : "warn" ,
242242 "operator-assignment" : "warn" ,
243243 quotes : [
244244 "warn" ,
245245 "single" ,
246246 {
247- allowTemplateLiterals : true
248- }
247+ allowTemplateLiterals : true ,
248+ } ,
249249 ] ,
250250 semi : "warn" ,
251251 "semi-spacing" : "warn" ,
@@ -256,8 +256,8 @@ module.exports = {
256256 {
257257 anonymous : "never" ,
258258 named : "never" ,
259- asyncArrow : "always"
260- }
259+ asyncArrow : "always" ,
260+ } ,
261261 ] ,
262262 "space-in-parens" : "warn" ,
263263 "space-infix-ops" : "warn" ,
@@ -268,7 +268,7 @@ module.exports = {
268268 "unicode-bom" : "warn" ,
269269
270270 // eslint-plugin-import
271- "import/no-duplicates" : "warn"
271+ "import/no-duplicates" : "warn" ,
272272
273273 // =====
274274 // None
@@ -368,5 +368,5 @@ module.exports = {
368368 // sort-keys
369369 // sort-vars
370370 // wrap-regex
371- }
371+ } ,
372372} ;
0 commit comments