Skip to content

Commit

Permalink
switch to eslint indent-legacy
Browse files Browse the repository at this point in the history
  • Loading branch information
epoberezkin committed May 26, 2020
1 parent 7bfb632 commit baaafd1
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .eslintrc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ env:
node: true
extends: 'eslint:recommended'
rules:
indent: [2, 4, { SwitchCase : 1 } ]
indent-legacy: [2, 4, { SwitchCase : 1 } ]
no-trailing-spaces: 2
quotes: [ 2, single, avoid-escape ]
linebreak-style: [ 2, unix ]
Expand Down
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -15,3 +15,4 @@ coverage
node_modules

.DS_Store
package-lock.json
2 changes: 1 addition & 1 deletion test/.eslintrc.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
rules:
indent: [2, 2, { SwitchCase : 1 } ]
indent-legacy: [2, 2, { SwitchCase : 1 } ]
no-invalid-this: 0
no-empty: [2, allowEmptyCatch: true]

Expand Down

0 comments on commit baaafd1

Please sign in to comment.