Skip to content
This repository has been archived by the owner on Nov 19, 2019. It is now read-only.

Commit

Permalink
feat(js): better const/let destructuring
Browse files Browse the repository at this point in the history
  • Loading branch information
AndrewLeedham committed Oct 7, 2019
1 parent 0cf4537 commit 71ccb9e
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions index.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,14 @@ module.exports = {
},

rules: {
'linebreak-style': [2, 'unix'],
'arrow-parens': [2, 'always'],
'linebreak-style': ['error', 'unix'],
'arrow-parens': ['error', 'always'],
'prettier/prettier': 'error',
'prefer-const': [
'error',
{
destructuring: 'all',
},
],
},
};

0 comments on commit 71ccb9e

Please sign in to comment.