Skip to content

Commit 675f058

Browse files
authored
style: switch statement support (#1)
* chore: add .gitignore Necessary for opening this repo in GitHub codespaces, as it automatically downloads all the dependencies. * feat: switch statement support Will resolve some linting errors discussed in os-js/osjs-server#67.
1 parent aa927a3 commit 675f058

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
node_modules

index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ module.exports = {
1414
'quotes': ['error', 'single'],
1515
'linebreak-style': ['error', 'unix'],
1616
'semi': ['error', 'always'],
17-
'indent': ['error', 2],
17+
'indent': ['error', 2, { 'SwitchCase': 1 }],
1818
'radix': 1,
1919
'eol-last': ['error', 'always'],
2020
'consistent-return': 1,

0 commit comments

Comments
 (0)