-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Migration to ESLINT 9 and @opbroker/eslint-config
- Loading branch information
Showing
11 changed files
with
5,037 additions
and
1,909 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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', | ||
}, | ||
}, | ||
|
||
]; |
Oops, something went wrong.