Update .eslintrc.js

This commit is contained in:
syuilo 2021-08-30 20:56:05 +09:00
parent 1aabd70f66
commit 0dbeafff25

View File

@ -14,13 +14,14 @@ module.exports = {
rules: {
'indent': ['error', 'tab', {
'SwitchCase': 1,
'MemberExpression': 'off',
'flatTernaryExpressions': true,
'ArrayExpression': 'first',
'ObjectExpression': 'first',
}],
'eol-last': ['error', 'always'],
'semi': ['error', 'always'],
'quotes': ['error', 'single'],
'quotes': ['warn', 'single'],
'keyword-spacing': ['error', {
'before': true,
'after': true,