Skip to content

Commit

Permalink
improve
Browse files Browse the repository at this point in the history
  • Loading branch information
Olivier Zalmanski committed Apr 22, 2024
1 parent da9783c commit 654909f
Showing 1 changed file with 2 additions and 10 deletions.
12 changes: 2 additions & 10 deletions eslint.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -141,29 +141,21 @@ 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': [
'error',
{ varsIgnorePattern: 'onHomeyReady' },
],
'@typescript-eslint/prefer-readonly-parameter-types': 'off',
camelcase: 'off',
'no-ternary': 'off',
'no-underscore-dangle': ['error', { allow: ['__'] }],
'one-var': 'off',
'sort-keys': ['error', 'asc', { natural: true }],
},
},
{
files: ['**/*.ts'],
rules: {
'@typescript-eslint/naming-convention': 'off',
camelcase: [
'error',
{ allow: ['^operation_mode$', '^target_temperature$'] },
],
},
},
{
files: ['**/*.ts'],
rules: {
Expand Down

0 comments on commit 654909f

Please sign in to comment.