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 896452c commit c474ae2
Show file tree
Hide file tree
Showing 7 changed files with 3,134 additions and 280 deletions.
2 changes: 0 additions & 2 deletions .eslintignore

This file was deleted.

42 changes: 0 additions & 42 deletions .eslintrc.json

This file was deleted.

3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -52,12 +52,13 @@ You must enter these in the configuration of the adapter.

---
<!-- ### **WORK IN PROGRESS** -->
## Changelog
### **WORK IN PROGRESS**
* (simatec) Dependencies updated
* (simatec) Fix jsonConfig
* (simatec) Issue Action added
* (simatec) eslint-config added

## Changelog
### 0.2.4 (2024-09-28)
* (simatec) Fix request error
* (simatec) Dependencies updated
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 c474ae2

Please sign in to comment.