Update packages
This commit is contained in:
@@ -0,0 +1,36 @@
|
||||
import config from '@iobroker/eslint-config';
|
||||
|
||||
export default [
|
||||
...config,
|
||||
{
|
||||
languageOptions: {
|
||||
parserOptions: {
|
||||
allowDefaultProject: {
|
||||
allow: ['*.js', '*.mjs'],
|
||||
},
|
||||
tsconfigRootDir: import.meta.dirname,
|
||||
// project: './tsconfig.json',
|
||||
},
|
||||
},
|
||||
},
|
||||
{
|
||||
// disable temporary the rule 'jsdoc/require-param' and enable 'jsdoc/require-jsdoc'
|
||||
rules: {
|
||||
'jsdoc/require-jsdoc': 'off',
|
||||
'jsdoc/require-param': 'off',
|
||||
'jsdoc/check-param-names': 'off',
|
||||
},
|
||||
},
|
||||
{
|
||||
ignores: [
|
||||
'build/**/*',
|
||||
'src/lib/**/*.js',
|
||||
'admin/**/*',
|
||||
'test/**/*',
|
||||
'src-admin/**/*',
|
||||
'src-rules/**/*',
|
||||
'tasks.js',
|
||||
'**/*.mjs'
|
||||
],
|
||||
},
|
||||
];
|
||||
Reference in New Issue
Block a user