Skip to content

Commit

Permalink
Updated eslint
Browse files Browse the repository at this point in the history
  • Loading branch information
DEV2DEV-DE committed Dec 3, 2024
1 parent e79618e commit db97025
Show file tree
Hide file tree
Showing 6 changed files with 6,043 additions and 1,016 deletions.
2 changes: 0 additions & 2 deletions .eslintignore

This file was deleted.

47 changes: 0 additions & 47 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 db97025

Please sign in to comment.