Skip to content

Commit

Permalink
style: switch statement support (#1)
Browse files Browse the repository at this point in the history
* 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.
  • Loading branch information
ajmeese7 authored Jan 29, 2025
1 parent aa927a3 commit 675f058
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
node_modules
2 changes: 1 addition & 1 deletion index.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ module.exports = {
'quotes': ['error', 'single'],
'linebreak-style': ['error', 'unix'],
'semi': ['error', 'always'],
'indent': ['error', 2],
'indent': ['error', 2, { 'SwitchCase': 1 }],
'radix': 1,
'eol-last': ['error', 'always'],
'consistent-return': 1,
Expand Down

0 comments on commit 675f058

Please sign in to comment.