Enable no-fallthrough ESLint rule
This commit is contained in:
Родитель
00707fca4b
Коммит
26e619ba71
|
@ -57,7 +57,6 @@ const baseConfig = {
|
|||
"func-style": "off",
|
||||
"i18n-text/no-en": "off",
|
||||
"no-invalid-this": "off",
|
||||
"no-fallthrough": "off",
|
||||
"no-console": "off",
|
||||
"no-shadow": "off",
|
||||
"github/array-foreach": "off",
|
||||
|
|
|
@ -1532,7 +1532,7 @@ export class CodeQLCliServer implements Disposable {
|
|||
const distribution = await this.distributionProvider.getDistribution();
|
||||
switch (distribution.kind) {
|
||||
case FindDistributionResultKind.CompatibleDistribution:
|
||||
|
||||
// eslint-disable-next-line no-fallthrough -- Intentional fallthrough
|
||||
case FindDistributionResultKind.IncompatibleDistribution:
|
||||
return distribution.version;
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче