Skip to content
This repository has been archived by the owner on Mar 16, 2022. It is now read-only.

Commit

Permalink
feat(eslint): add prefer-const
Browse files Browse the repository at this point in the history
  • Loading branch information
epiqueras committed Mar 22, 2018
1 parent 55c707e commit 85ed9cc
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .eslintrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ module.exports = {
rules: {
// Generic JS
'no-unused-vars': [
'error',
2,
{
vars: 'all',
args: 'all',
Expand All @@ -25,6 +25,7 @@ module.exports = {
argsIgnorePattern: '^_'
}
],
'prefer-const': 2,
'arrow-body-style': [2, 'as-needed'],

// unicorn
Expand Down

0 comments on commit 85ed9cc

Please sign in to comment.