Skip to content

Commit

Permalink
update eslint
Browse files Browse the repository at this point in the history
  • Loading branch information
davikstone2 committed Jan 23, 2024
1 parent ce9ea86 commit 13a709d
Showing 1 changed file with 8 additions and 9 deletions.
17 changes: 8 additions & 9 deletions .eslintrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -16,15 +16,14 @@ module.exports = {
indent: ['error', 'tab'],
'linebreak-style': ['error', 'unix'], // Use Unix line endings
quotes: ['error', 'single', { allowTemplateLiterals: true }], // Use single quotes for strings
semi: ['error', 'always'], // Require semicolons at the end of statements
semi: ['error', 'always'] // Require semicolons at the end of statements

// TypeScript specific rules
'@typescript-eslint/no-unused-vars': 'off', // Turn off unused variable warnings
'@typescript-eslint/no-empty-function': 'off', // Allow empty functions
'@typescript-eslint/no-var-requires': 'off', // Allow 'require' statements
'@typescript-eslint/no-this-alias': 'off', // Allow using 'this' alias
'no-fallthrough': 'off', // Allow fallthrough in switch statements
'no-prototype-builtins': 'off', // Allow prototype built-ins
'no-cond-assign': 'off' // Allow assignment in conditional expressions
// '@typescript-eslint/no-unused-vars': 'off', // Turn off unused variable warnings
// '@typescript-eslint/no-empty-function': 'off', // Allow empty functions
// '@typescript-eslint/no-var-requires': 'off', // Allow 'require' statements
// '@typescript-eslint/no-this-alias': 'off', // Allow using 'this' alias
// 'no-fallthrough': 'off', // Allow fallthrough in switch statements
// 'no-prototype-builtins': 'off', // Allow prototype built-ins
// 'no-cond-assign': 'off' // Allow assignment in conditional expressions
}
};

0 comments on commit 13a709d

Please sign in to comment.