Fix settings migration. Add lint rule.

This commit is contained in:
Cohee
2024-04-14 15:40:10 +03:00
parent 913085ba74
commit b02394008c
2 changed files with 16 additions and 14 deletions

View File

@@ -60,6 +60,8 @@ module.exports = {
'no-trailing-spaces': 'error',
'object-curly-spacing': ['error', 'always'],
'space-infix-ops': 'error',
'no-unused-expressions': ['error', { allowShortCircuit: true, allowTernary: true }],
'no-cond-assign': 'error',
// These rules should eventually be enabled.
'no-async-promise-executor': 'off',