Skip to content

Commit aa8d60c

Browse files
committed
remove deprecated rule & lint
1 parent 3dccffe commit aa8d60c

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

Diff for: .eslintrc.js

-1
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,6 @@ module.exports = {
1515
// Place to specify ESLint rules. Can be used to overwrite rules specified from the extended configs
1616
// e.g. "@typescript-eslint/explicit-function-return-type": "off",
1717
indent: "off",
18-
"@typescript-eslint/indent": ["error", 2],
1918
"@typescript-eslint/no-use-before-define": "off",
2019
"@typescript-eslint/no-explicit-any": "off",
2120
"@typescript-eslint/explicit-function-return-type": "off",

Diff for: src/server.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,7 @@ export async function startServer (port: number, hardware: Hardware = 'v3', com:
9898
if (process.platform === 'darwin') {
9999
try {
100100
wakeLock = new WakeLock("saxi plotting");
101-
} catch (e) {
101+
} catch {
102102
console.warn("Couldn't acquire wake lock. Ensure your machine does not sleep during plotting");
103103
}
104104
}

0 commit comments

Comments
 (0)