Skip to content

Commit

Permalink
(simatec) eslint-config added
Browse files Browse the repository at this point in the history
  • Loading branch information
simatec committed Nov 20, 2024
1 parent 1acdb5a commit 35c0a63
Show file tree
Hide file tree
Showing 6 changed files with 3,351 additions and 290 deletions.
35 changes: 0 additions & 35 deletions .eslintrc.json

This file was deleted.

1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,7 @@ When the adapter crashes or an other Code error happens, this error message that
<!-- ### __WORK IN PROGRESS__ -->
### __WORK IN PROGRESS__
* (simatec) Bugfix Brightness down
* (simatec) eslint-config added

### 1.8.4 (2024-11-07)
* (simatec) Issue Info added
Expand Down
30 changes: 30 additions & 0 deletions eslint.config.mjs
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
// 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: [
'*.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 35c0a63

Please sign in to comment.