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:
parent
cfd74adcb3
commit
797839c135
5 changed files with 207 additions and 207 deletions
|
|
@ -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/**'
|
||||
]
|
||||
}
|
||||
]
|
||||
]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue