chore: enforce consistent coding style and semicolon removal

- Update ESLint configuration to enforce no semicolons (`semi: ['error', 'never']`)
- Fix all instances of semicolons in `*.ts` files to align with style rules
- Adjust related ESLint rules for `no-extra-semi`
- Simplify unnecessary semicolon patterns in global variable assignments
This commit is contained in:
David Snelling 2025-09-29 09:50:59 -07:00
parent cfd74adcb3
commit 797839c135
5 changed files with 207 additions and 207 deletions

View file

@ -38,12 +38,12 @@ export default [
argsIgnorePattern: '^_'
}
],
// Semi rule removed - not available in v9
// Semicolon rules - enforce no semicolons
'semi': ['error', 'never'],
// General rules
'no-unused-vars': 'off', // Using TypeScript rule instead
'no-extra-semi': 'off',
'semi': 'off', // Using TypeScript rule instead
'no-extra-semi': 'error',
'no-undef': 'off', // TypeScript handles this
'no-redeclare': 'off', // TypeScript handles this
@ -83,4 +83,4 @@ export default [
'bin/**'
]
}
]
]