Skip to content

Commit

Permalink
Add two more ESLint rules
Browse files Browse the repository at this point in the history
  • Loading branch information
necojackarc committed Dec 23, 2020
1 parent 3487f24 commit b407ce9
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .eslintrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ module.exports = {
'eol-last': 'error',
'eqeqeq': [ 'error', 'always' ],
'func-call-spacing': 'error',
'id-length': 'error',
'indent': [ 'error', 2, { SwitchCase: 1 } ],
'key-spacing': 'error',
'keyword-spacing': 'error',
Expand Down Expand Up @@ -58,6 +59,7 @@ module.exports = {
'radix': 'error',
'rest-spread-spacing': 'error',
'semi': [ 'error', 'always' ],
'space-before-blocks': 'error',
'space-in-parens': 'error',
'space-infix-ops': 'error',
'spaced-comment': [ 'error', 'always', { block: { balanced: true } } ],
Expand Down

0 comments on commit b407ce9

Please sign in to comment.