Skip to content

Commit 9b5e038

Browse files
authored
turn on prefer-const
1 parent 766265c commit 9b5e038

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)