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 583d1bb commit 02043b9
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .eslintrc.js
Expand Up @@ -27,6 +27,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 @@ -55,6 +56,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 02043b9

Please sign in to comment.