Skip to content

Commit bafc5ae

Browse files
authored
Merge pull request #52 from chrisjshull/patch-2
turn on prefer-const
2 parents 766265c + d08c683 commit bafc5ae

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -338,7 +338,7 @@ module.exports = {
338338
'no-var': 2,
339339
// 'object-shorthand': 0,
340340
// 'prefer-arrow-callback': 0,
341-
// 'prefer-const': 0,
341+
'prefer-const': ['error', {destructuring: 'all'}],
342342
// 'prefer-destructuring': 0,
343343
// 'prefer-numeric-literals': 0,
344344
'prefer-rest-params': 2,

0 commit comments

Comments
 (0)