Skip to content

Commit e643ea3

Browse files
authored
Merge pull request #1 from leviy/master_add_switch_statement_indentation
Add configuration for switch statement indentation
2 parents 5dd544b + 112b85a commit e643ea3

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

packages/eslint-config-default/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ module.exports = {
1414
'arrow-body-style': 'off',
1515
'class-methods-use-this': 'off',
1616
'max-len': [2, 140, 4],
17-
'indent': ['error', 4],
17+
'indent': ['error', 4, {'SwitchCase': 1}],
1818
'no-continue': 'off',
1919
'no-prototype-builtins': 'off',
2020
'no-underscore-dangle': ['error', {

packages/eslint-config-default/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@leviy/eslint-config-default",
3-
"version": "1.0.0",
3+
"version": "1.0.1",
44
"repository": {
55
"type": "git",
66
"url": "git+ssh://[email protected]:leviy/javascript-coding-standard.git"

0 commit comments

Comments
 (0)