Skip to content

Commit

Permalink
Small improvement to our default eslint configuration
Browse files Browse the repository at this point in the history
  • Loading branch information
denniscoorn committed Mar 7, 2019
1 parent e93c394 commit 617ddcc
Showing 1 changed file with 11 additions and 5 deletions.
16 changes: 11 additions & 5 deletions packages/eslint-config-default/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,9 @@ module.exports = {
'arrow-body-style': 'off',
'class-methods-use-this': 'off',
'max-len': [2, 140, 4],
'indent': ['error', 4, {'SwitchCase': 1}],
'indent': ['error', 4, {
'SwitchCase': 1
}],
'no-continue': 'off',
'no-prototype-builtins': 'off',
'no-underscore-dangle': ['error', {
Expand All @@ -24,9 +26,13 @@ module.exports = {
'prefer-destructuring': ['error', {
'array': false
}],
'no-param-reassign': [
"error", { "props": false }
],
'operator-linebreak': 'off'
'no-param-reassign': ['error', {
'props': false
}],
'operator-linebreak': 'off',
'no-multiple-empty-lines': ['error', {
'max': 2,
'maxEOF': 1
}]
}
};

0 comments on commit 617ddcc

Please sign in to comment.