Autofix eslint-comments/no-unused-disable
This commit is contained in:
@@ -45,7 +45,6 @@ module.exports = {
|
||||
"camelcase": "off",
|
||||
"eqeqeq": "off",
|
||||
"escompat/no-regexp-lookbehind": "off",
|
||||
"eslint-comments/no-unused-disable": "off",
|
||||
"filenames/match-regex": "off",
|
||||
"filenames/match-regexp": "off",
|
||||
"func-style": "off",
|
||||
|
||||
@@ -1241,7 +1241,7 @@ export class CodeQLCliServer implements Disposable {
|
||||
const distribution = await this.distributionProvider.getDistribution();
|
||||
switch (distribution.kind) {
|
||||
case FindDistributionResultKind.CompatibleDistribution:
|
||||
// eslint-disable-next-line no-fallthrough
|
||||
|
||||
case FindDistributionResultKind.IncompatibleDistribution:
|
||||
return distribution.version;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user