Skip to content

Commit

Permalink
roundup
Browse files Browse the repository at this point in the history
  • Loading branch information
oweitman committed Nov 26, 2024
1 parent 717eeef commit 81f1f11
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 2 deletions.
1 change: 1 addition & 0 deletions eslint.config.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ export default [
{
// specify files to exclude from linting here
ignores: [
'widgets/openligadb/js/openligadb-dist.js',
'widgets/openligadb/js/clipboard-polyfill.promise.js',
'widgets/openligadb/js/highlight.pack.js',
'widgets/openligadb/js/jquery-3.2.1.min.js',
Expand Down
2 changes: 1 addition & 1 deletion main.js
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,8 @@ class Openligadb extends utils.Adapter {
name: 'openligadb',
});
this.on('ready', this.onReady.bind(this));
// @ts-expect-error statechange doesnt exist
this.on('unload', this.onUnload.bind(this));
// @ts-expect-error no overload error
this.on('message', this.onMessage.bind(this));
}

Expand Down
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -70,8 +70,9 @@
"test:integration": "mocha test/integration --exit",
"test": "npm run test:js && npm run test:package",
"check": "tsc --noEmit -p tsconfig.check.json",
"lint": "eslint --debug -c eslint.config.mjs .|more",
"lint": "eslint -c eslint.config.mjs .|more",
"build": "cd widgets/openligadb && npm run build && cd ../..",
"repochecker": "npx github:oweitman/ioBroker.repochecker https://github.com/oweitman/ioBroker.openligadb --local",
"translate": "translate-adapter",
"translate-widgets": "node ./bin/translate.js --source widgets/openligadb/i18n/en.json --format single",
"release": "release-script --all"
Expand Down

0 comments on commit 81f1f11

Please sign in to comment.