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: { rules: {
'indent': ['error', 'tab', { 'indent': ['error', 'tab', {
'SwitchCase': 1, 'SwitchCase': 1,
'MemberExpression': 'off',
'flatTernaryExpressions': true, 'flatTernaryExpressions': true,
'ArrayExpression': 'first', 'ArrayExpression': 'first',
'ObjectExpression': 'first', 'ObjectExpression': 'first',
}], }],
'eol-last': ['error', 'always'], 'eol-last': ['error', 'always'],
'semi': ['error', 'always'], 'semi': ['error', 'always'],
'quotes': ['error', 'single'], 'quotes': ['warn', 'single'],
'keyword-spacing': ['error', { 'keyword-spacing': ['error', {
'before': true, 'before': true,
'after': true, 'after': true,