Skip to content

Commit 65d92d6

Browse files
author
ticaki
committed
update dep to eslint 9
1 parent b81c71b commit 65d92d6

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

52 files changed

+5365
-1840
lines changed

.eslintignore

-6
This file was deleted.

.eslintrc.js

-54
This file was deleted.

.prettierignore

-4
This file was deleted.

.prettierrc.js

-9
This file was deleted.

eslint.config.mjs

+40
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,40 @@
1+
// ioBroker eslint template configuration file for js and ts files
2+
// Please note that esm or react based modules need additional modules loaded.
3+
import config from '@iobroker/eslint-config';
4+
5+
export default [
6+
...config,
7+
8+
{
9+
// specify files to exclude from linting here
10+
ignores: [
11+
'.dev-server/',
12+
'.vscode/',
13+
'*.test.js',
14+
'test/**/*.js',
15+
'*.config.mjs',
16+
'build',
17+
'admin/build',
18+
'admin/words.js',
19+
'admin/admin.d.ts',
20+
'**/adapter-config.d.ts',
21+
'img',
22+
'json',
23+
'script',
24+
'node_modules',
25+
'templates',
26+
'.dev-data',
27+
]
28+
},
29+
30+
{
31+
// you may disable some 'jsdoc' warnings - but using jsdoc is highly recommended
32+
// as this improves maintainability. jsdoc warnings will not block buiuld process.
33+
rules: {
34+
'jsdoc/require-jsdoc': 'off',
35+
"require-await": "off",
36+
"@typescript-eslint/require-await": "off"
37+
},
38+
},
39+
40+
];

0 commit comments

Comments
 (0)