Skip to content

Commit

Permalink
cluster-ui: set 'error' on eslint rule no-unused-vars
Browse files Browse the repository at this point in the history
Unused vars will now show up as lint errors in cluster-ui
package.

Epic: none

Release note: None
  • Loading branch information
xinhaoz committed Jul 28, 2023
1 parent 7ba8059 commit f590cd7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/ui/workspaces/cluster-ui/.eslintrc.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
"@typescript-eslint/interface-name-prefix": "off",
"@typescript-eslint/no-explicit-any": "warn",
"@typescript-eslint/no-namespace": "off",
"@typescript-eslint/no-unused-vars": ["warn", { "argsIgnorePattern": "^_" }],
"@typescript-eslint/no-unused-vars": ["error", { "argsIgnorePattern": "^_" }],
"@cockroachlabs/crdb/require-antd-style-import": "error"
}
}

0 comments on commit f590cd7

Please sign in to comment.