Skip to content

Commit

Permalink
fix(lint): remove import settings
Browse files Browse the repository at this point in the history
  • Loading branch information
Walker Leite committed Feb 28, 2018
1 parent 7534446 commit ffd1574
Showing 1 changed file with 0 additions and 17 deletions.
17 changes: 0 additions & 17 deletions template/.eslintrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -22,22 +22,5 @@ module.exports = {
assert: true,
require: true,
request: true
},
// add your custom rules here
rules: {
// disallow reassignment of function parameters
// disallow parameter object manipulation except for specific exclusions
'no-param-reassign': ['error',
{
props: true,
ignorePropertyModificationsFor: [
'state', // for vuex state
'acc', // for reduce accumulators
'e' // for e.returnvalue
]
}
],
// allow debugger during development
'no-debugger': process.env.NODE_ENV === 'production' ? 'error' : 'off'
}
}

0 comments on commit ffd1574

Please sign in to comment.