Skip to content

Commit

Permalink
Fix eslint cfg
Browse files Browse the repository at this point in the history
Signed-off-by: paulober <[email protected]>
  • Loading branch information
paulober committed Nov 17, 2024
1 parent 1fdaebe commit a7bbf6a
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 3 additions & 0 deletions eslint.config.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,9 @@ export default tseslint.config(
"@typescript-eslint/naming-convention": "warn",
"@typescript-eslint/no-unused-vars": "warn",
"@typescript-eslint/no-explicit-any": "warn",
"@typescript-eslint/no-unused-expressions": ["error", { "allowShortCircuit": true }],
"@typescript-eslint/dot-notation": ["error", { "allowKeywords": true }],
"@typescript-eslint/no-empty-function": ["warn", { "allow": ["arrowFunctions"] }],
"@typescript-eslint/array-type": ["error", { default: "array-simple" }],
"@typescript-eslint/consistent-type-imports": ["error", { prefer: "type-imports" }],
"@typescript-eslint/explicit-function-return-type": ["error", { allowExpressions: true }],
Expand Down
2 changes: 1 addition & 1 deletion src/activitybar/deviceWifiTree.mts
Original file line number Diff line number Diff line change
Expand Up @@ -251,7 +251,7 @@ export default class DeviceWifiProvider implements TreeDataProvider<Wifi> {
}

// eslint-disable-next-line @typescript-eslint/no-unused-vars
public async getChildren(element?: Wifi | undefined): Promise<Wifi[]> {
public async getChildren(element?: Wifi): Promise<Wifi[]> {
const networks = await PicoMpyCom.getInstance().runCommand(
DETECT_WIFIS_SCRIPT
);
Expand Down

0 comments on commit a7bbf6a

Please sign in to comment.