Skip to content

Commit 26e619b

Browse files
committed
Enable no-fallthrough ESLint rule
1 parent 00707fc commit 26e619b

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

extensions/ql-vscode/.eslintrc.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,6 @@ const baseConfig = {
5757
"func-style": "off",
5858
"i18n-text/no-en": "off",
5959
"no-invalid-this": "off",
60-
"no-fallthrough": "off",
6160
"no-console": "off",
6261
"no-shadow": "off",
6362
"github/array-foreach": "off",

extensions/ql-vscode/src/codeql-cli/cli.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1532,7 +1532,7 @@ export class CodeQLCliServer implements Disposable {
15321532
const distribution = await this.distributionProvider.getDistribution();
15331533
switch (distribution.kind) {
15341534
case FindDistributionResultKind.CompatibleDistribution:
1535-
1535+
// eslint-disable-next-line no-fallthrough -- Intentional fallthrough
15361536
case FindDistributionResultKind.IncompatibleDistribution:
15371537
return distribution.version;
15381538

0 commit comments

Comments
 (0)