Skip to content

Commit 09ddb6d

Browse files
enforce to use semicolon (#28)
1 parent 524fb11 commit 09ddb6d

File tree

3 files changed

+5
-4
lines changed

3 files changed

+5
-4
lines changed

.eslintrc

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,7 @@
5656
{
5757
"max": 1
5858
}
59-
]
59+
],
60+
"semi": ["error", "always"]
6061
}
6162
}

src/filter/TargetingFilter.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -127,7 +127,7 @@ function constructAudienceContextId(featureName: string, userId: string | undefi
127127
if (groupName !== undefined) {
128128
contextId += `\n${groupName}`;
129129
}
130-
return contextId
130+
return contextId;
131131
}
132132

133133
function stringToUint32(str: string): number {

src/model.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -172,8 +172,8 @@ interface TelemetryOptions {
172172
// Feature Management Section fed into feature manager.
173173
// Converted from https://github.com/Azure/AppConfiguration/blob/main/docs/FeatureManagement/FeatureManagement.v1.0.0.schema.json
174174

175-
export const FEATURE_MANAGEMENT_KEY = "feature_management"
176-
export const FEATURE_FLAGS_KEY = "feature_flags"
175+
export const FEATURE_MANAGEMENT_KEY = "feature_management";
176+
export const FEATURE_FLAGS_KEY = "feature_flags";
177177

178178
export interface FeatureManagementConfiguration {
179179
feature_management: FeatureManagement

0 commit comments

Comments
 (0)