Fix lint
This commit is contained in:
@@ -51,10 +51,7 @@ describe("FeatureFlags", () => {
|
|||||||
|
|
||||||
it("returns all features when all is enabled", () => {
|
it("returns all features when all is enabled", () => {
|
||||||
const flags = new FeatureFlags({all: true});
|
const flags = new FeatureFlags({all: true});
|
||||||
expect(flags.getEnabledFeatures()).toEqual([
|
expect(flags.getEnabledFeatures()).toEqual(["missingInputsQuickfix", "blockScalarChompingWarning"]);
|
||||||
"missingInputsQuickfix",
|
|
||||||
"blockScalarChompingWarning"
|
|
||||||
]);
|
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
|||||||
@@ -39,10 +39,7 @@ export type ExperimentalFeatureKey = Exclude<keyof ExperimentalFeatures, "all">;
|
|||||||
* All known experimental feature keys.
|
* All known experimental feature keys.
|
||||||
* This list must be kept in sync with the ExperimentalFeatures interface.
|
* This list must be kept in sync with the ExperimentalFeatures interface.
|
||||||
*/
|
*/
|
||||||
const allFeatureKeys: ExperimentalFeatureKey[] = [
|
const allFeatureKeys: ExperimentalFeatureKey[] = ["missingInputsQuickfix", "blockScalarChompingWarning"];
|
||||||
"missingInputsQuickfix",
|
|
||||||
"blockScalarChompingWarning"
|
|
||||||
];
|
|
||||||
|
|
||||||
export class FeatureFlags {
|
export class FeatureFlags {
|
||||||
private readonly features: ExperimentalFeatures;
|
private readonly features: ExperimentalFeatures;
|
||||||
|
|||||||
Reference in New Issue
Block a user