Skip to content

Commit

Permalink
chore: update typescript etc
Browse files Browse the repository at this point in the history
  • Loading branch information
tkurki committed Nov 27, 2024
1 parent 7dda8bc commit 41cb574
Show file tree
Hide file tree
Showing 4 changed files with 22 additions and 8 deletions.
17 changes: 17 additions & 0 deletions .eslintrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,23 @@ module.exports = {
'plugin:@typescript-eslint/recommended',
'prettier'
],
rules: {
'@typescript-eslint/no-unused-vars': [
'error',
{
argsIgnorePattern: '^_',
varsIgnorePattern: '^_',
caughtErrorsIgnorePattern: '^_'
}
],
'@typescript-eslint/no-unused-expressions': [
'error',
{
allowShortCircuit: true,
allowTernary: true
}
]
},
parser: '@typescript-eslint/parser',
plugins: ['@typescript-eslint']
}
Expand Down
7 changes: 3 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -156,8 +156,7 @@
"@types/swagger-ui-express": "^4.1.3",
"@types/unzipper": "^0.10.5",
"@types/uuid": "^8.3.1",
"@typescript-eslint/eslint-plugin": "^5.38.0",
"@typescript-eslint/parser": "^5.38.0",
"@typescript-eslint/eslint-plugin": "^8.16.0",
"chai": "^4.0.0",
"chai-json-equal": "0.0.1",
"chai-things": "^0.2.0",
Expand All @@ -172,8 +171,8 @@
"rimraf": "^3.0.2",
"rmfr": "^2.0.0",
"ts-node": "^10.9.1",
"typedoc": "^0.23.23",
"typescript": "^4.8.3"
"typedoc": "^0.26.11",
"typescript": "5.6.x"
},
"funding": "https://opencollective.com/signalk"
}
3 changes: 1 addition & 2 deletions packages/resources-provider-plugin/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -43,8 +43,7 @@
"@types/express": "^4.17.6",
"@types/ngeohash": "^0.6.4",
"@types/node-fetch": "^2.5.6",
"@typescript-eslint/eslint-plugin": "^5.52.0",
"@typescript-eslint/parser": "^5.52.0",
"@typescript-eslint/eslint-plugin": "^8.16.0",
"eslint": "^8.34.0",
"eslint-config-prettier": "^8.6.0",
"prettier": "^2.8.4",
Expand Down
3 changes: 1 addition & 2 deletions packages/server-api/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,7 @@
"@types/chai": "^4.2.15",
"@types/express": "^4.17.1",
"@types/mocha": "^10.0.1",
"@typescript-eslint/eslint-plugin": "^5.52.0",
"@typescript-eslint/parser": "^5.52.0",
"@typescript-eslint/eslint-plugin": "^8.16.0",
"chai": "^4.3.0",
"eslint": "^8.34.0",
"eslint-config-prettier": "^8.6.0",
Expand Down

0 comments on commit 41cb574

Please sign in to comment.