Merge pull request #5661 from barelyhuman/fix/eslint-comma-arrow

fix: update stylistic rules in ESLint configuration
This commit is contained in:
Anoop M D
2025-09-29 15:46:27 +05:30
committed by GitHub

View File

@@ -37,11 +37,11 @@ module.exports = runESMImports().then(() => defineConfig([
indent: 2,
quotes: 'single',
semi: true,
arrowParens: false,
jsx: true,
}).rules,
'@stylistic/comma-dangle': ['error', 'never'],
'@stylistic/brace-style': ['error', '1tbs', { allowSingleLine: true }],
'@stylistic/arrow-parens': ['error', 'as-needed'],
'@stylistic/arrow-parens': ['error', 'always'],
'@stylistic/curly-newline': ['error', {
multiline: true,
minElements: 2,