mirror of
https://github.com/Koenkk/zigbee-OTA.git
synced 2026-06-24 13:18:14 +00:00
fix: Update config to recommended (#605)
This commit is contained in:
@@ -6,12 +6,14 @@ export default tseslint.config(
|
||||
eslint.configs.recommended,
|
||||
...tseslint.configs.recommended,
|
||||
{
|
||||
files: ['**/*.ts', '**/*.tsx'],
|
||||
files: ['**/*.ts'],
|
||||
languageOptions: {
|
||||
ecmaVersion: 'latest',
|
||||
sourceType: 'script',
|
||||
parserOptions: {
|
||||
project: true,
|
||||
projectService: {
|
||||
allowDefaultProject: ['eslint.config.mjs', 'prettier.config.mjs'],
|
||||
},
|
||||
},
|
||||
},
|
||||
rules: {
|
||||
@@ -27,7 +29,7 @@ export default tseslint.config(
|
||||
},
|
||||
},
|
||||
{
|
||||
ignores: ['tmp/', 'dist/', 'eslint.config.mjs'],
|
||||
ignores: ['tmp', 'dist', 'coverage'],
|
||||
},
|
||||
eslintConfigPrettier,
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user