Skip to content

Commit

Permalink
Migration to ESLint 9
Browse files Browse the repository at this point in the history
  • Loading branch information
pdbjjens committed Jan 29, 2025
1 parent 9d89bcd commit 99dd346
Show file tree
Hide file tree
Showing 5 changed files with 3,884 additions and 402 deletions.
35 changes: 0 additions & 35 deletions .eslintrc.json

This file was deleted.

32 changes: 32 additions & 0 deletions eslint.config.mjs
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
// ioBroker eslint template configuration file for js and ts files
// Please note that esm or react based modules need additional modules loaded.
import config from '@iobroker/eslint-config';

export default [
...config,

{
// specify files to exclude from linting here
ignores: [
'.dev-server/',
'.vscode/',
'*.test.js',
'test/**/*.js',
'*.config.mjs',
'build',
'admin/build',
'admin/words.js',
'admin/admin.d.ts',
'**/adapter-config.d.ts'
]
},

{
// you may disable some 'jsdoc' warnings - but using jsdoc is highly recommended
// as this improves maintainability. jsdoc warnings will not block buiuld process.
rules: {
// 'jsdoc/require-jsdoc': 'off',
},
},

];
Loading

0 comments on commit 99dd346

Please sign in to comment.