Skip to content

Update linting rule to enforce to use semicolon #28

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Aug 20, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion .eslintrc
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,7 @@
{
"max": 1
}
]
],
"semi": ["error", "always"]
}
}
2 changes: 1 addition & 1 deletion src/filter/TargetingFilter.ts
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,7 @@ function constructAudienceContextId(featureName: string, userId: string | undefi
if (groupName !== undefined) {
contextId += `\n${groupName}`;
}
return contextId
return contextId;
}

function stringToUint32(str: string): number {
Expand Down
4 changes: 2 additions & 2 deletions src/model.ts
Original file line number Diff line number Diff line change
Expand Up @@ -172,8 +172,8 @@ interface TelemetryOptions {
// Feature Management Section fed into feature manager.
// Converted from https://github.com/Azure/AppConfiguration/blob/main/docs/FeatureManagement/FeatureManagement.v1.0.0.schema.json

export const FEATURE_MANAGEMENT_KEY = "feature_management"
export const FEATURE_FLAGS_KEY = "feature_flags"
export const FEATURE_MANAGEMENT_KEY = "feature_management";
export const FEATURE_FLAGS_KEY = "feature_flags";

export interface FeatureManagementConfiguration {
feature_management: FeatureManagement
Expand Down
Loading