Skip to content

Commit

Permalink
Upgrade typescript-eslint
Browse files Browse the repository at this point in the history
  • Loading branch information
OlivierZal committed Sep 30, 2024
1 parent 1c179d8 commit 11a3471
Show file tree
Hide file tree
Showing 4 changed files with 74 additions and 56 deletions.
4 changes: 4 additions & 0 deletions eslint.config.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -270,6 +270,10 @@ export default [
},
],
'@typescript-eslint/no-redeclare': 'off',
'@typescript-eslint/no-unnecessary-condition': [
'error',
{ checkTypePredicates: true },
],
'@typescript-eslint/no-unused-vars': [
'error',
{
Expand Down
120 changes: 67 additions & 53 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
"@html-eslint/eslint-plugin": "^0.27.0",
"@html-eslint/parser": "^0.27.0",
"@stylistic/eslint-plugin": "^2.8.0",
"@types/homey": "npm:homey-apps-sdk-v3-types@^0.3.7",
"@types/homey": "npm:homey-apps-sdk-v3-types@^0.3.8",
"@types/node": "^22.7.4",
"eslint": "^9.11.1",
"eslint-config-prettier": "^9.1.0",
Expand All @@ -32,6 +32,6 @@
"prettier": "^3.3.3",
"prettier-plugin-packagejson": "^2.5.2",
"typescript": "^5.6.2",
"typescript-eslint": "^8.7.0"
"typescript-eslint": "^8.8.0"
}
}
2 changes: 1 addition & 1 deletion settings/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -226,5 +226,5 @@ async function onHomeyReady(homey: Homey): Promise<void> {
await getTemperatureSensors(homey)
await fetchHomeySettings(homey)
addEventListeners(homey)
await homey.ready()
homey.ready()
}

0 comments on commit 11a3471

Please sign in to comment.