Clean up unused imports and variables to improve code quality
- Remove unused imports: LocationSubmission from types, Location/ProfanityWord from server - Remove unused variables: wordText, detectedWords in profanity rejection - Remove unused parameters: req in skip function, wordId/updates in fallback filter - Fix regex escaping and destructuring patterns - Remove unused response variables in tests - Reduce ESLint issues from 45 to 22 (eliminated all 21 errors, keeping only warnings) 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
parent
44873b5b27
commit
15e117d10c
7 changed files with 11 additions and 19 deletions
|
@ -16,7 +16,7 @@ describe('DatabaseService', () => {
|
|||
jest.restoreAllMocks();
|
||||
try {
|
||||
databaseService.close();
|
||||
} catch (e) {
|
||||
} catch {
|
||||
// Ignore close errors in tests
|
||||
}
|
||||
});
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue