Skip to content

Commit

Permalink
improve eslint config
Browse files Browse the repository at this point in the history
  • Loading branch information
OlivierZal committed Apr 21, 2024
1 parent 506105c commit dca9e82
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion eslint.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,6 @@ module.exports = tsEslint.config(
},
},
],
'@typescript-eslint/naming-convention': 'off',
'@typescript-eslint/no-explicit-any': ['error', { ignoreRestArgs: true }],
'@typescript-eslint/no-magic-numbers': ['error', { ignoreEnums: true }],
'@typescript-eslint/no-unused-vars': [
Expand All @@ -156,7 +155,9 @@ module.exports = tsEslint.config(
},
},
{
files: ['**/*.ts'],
rules: {
'@typescript-eslint/naming-convention': 'off',
camelcase: [
'error',
{ allow: ['^operation_mode$', '^target_temperature$'] },
Expand Down

0 comments on commit dca9e82

Please sign in to comment.