@@ -64,11 +64,11 @@ module.exports = {
6464 // start with something that looks like a variable name or code.
6565 ignorePattern : '^.{0,50}$|^ [a-z]+ ?[0-9A-Z_.(/=:[#-]' ,
6666 ignoreInlineComments : true ,
67- ignoreConsecutiveComments : true
67+ ignoreConsecutiveComments : true ,
6868 } ,
6969 block : {
70- ignorePattern : '.*'
71- }
70+ ignorePattern : '.*' ,
71+ } ,
7272 } ] ,
7373 'comma-dangle' : [ 'error' , 'only-multiline' ] ,
7474 'comma-spacing' : 'error' ,
@@ -168,27 +168,27 @@ module.exports = {
168168 {
169169 property : '__defineSetter__' ,
170170 message : '__defineSetter__ is deprecated.' ,
171- }
171+ } ,
172172 ] ,
173173 // If this list is modified, please copy the change to lib/.eslintrc.yaml
174174 // and test/.eslintrc.yaml.
175175 'no-restricted-syntax' : [
176176 'error' ,
177177 {
178178 selector : "CallExpression[callee.object.name='assert'][callee.property.name='deepStrictEqual'][arguments.2.type='Literal']" ,
179- message : 'Do not use a literal for the third argument of assert.deepStrictEqual()'
179+ message : 'Do not use a literal for the third argument of assert.deepStrictEqual()' ,
180180 } ,
181181 {
182182 selector : "CallExpression[callee.object.name='assert'][callee.property.name='doesNotThrow']" ,
183- message : 'Please replace `assert.doesNotThrow()` and add a comment next to the code instead.'
183+ message : 'Please replace `assert.doesNotThrow()` and add a comment next to the code instead.' ,
184184 } ,
185185 {
186186 selector : "CallExpression[callee.object.name='assert'][callee.property.name='rejects'][arguments.length<2]" ,
187187 message : '`assert.rejects()` must be invoked with at least two arguments.' ,
188188 } ,
189189 {
190190 selector : "CallExpression[callee.object.name='assert'][callee.property.name='strictEqual'][arguments.2.type='Literal']" ,
191- message : 'Do not use a literal for the third argument of assert.strictEqual()'
191+ message : 'Do not use a literal for the third argument of assert.strictEqual()' ,
192192 } ,
193193 {
194194 selector : "CallExpression[callee.object.name='assert'][callee.property.name='throws'][arguments.1.type='Literal']:not([arguments.1.regex])" ,
@@ -209,7 +209,7 @@ module.exports = {
209209 {
210210 selector : 'ThrowStatement > CallExpression[callee.name=/Error$/]' ,
211211 message : 'Use `new` keyword when throwing an `Error`.' ,
212- }
212+ } ,
213213 ] ,
214214 /* eslint-enable max-len */
215215 'no-return-await' : 'error' ,
@@ -263,7 +263,7 @@ module.exports = {
263263 'space-unary-ops' : 'error' ,
264264 'spaced-comment' : [ 'error' , 'always' , {
265265 'block' : { 'balanced' : true } ,
266- 'exceptions' : [ '-' ]
266+ 'exceptions' : [ '-' ] ,
267267 } ] ,
268268 'strict' : [ 'error' , 'global' ] ,
269269 'symbol-description' : 'error' ,
0 commit comments