-
Notifications
You must be signed in to change notification settings - Fork 3
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
refactor: various client SDK lints #298
Conversation
@@ -30,14 +30,14 @@ using launchdarkly::client_side::data_sources::DataSourceStatus; | |||
using launchdarkly::config::shared::built::DataSourceConfig; | |||
using launchdarkly::config::shared::built::HttpProperties; | |||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Removing redundant namespace + formatting
@@ -1,33 +1,32 @@ | |||
#pragma once | |||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sorting include paths according to our standard from most specific to least specific.
@@ -0,0 +1,20 @@ | |||
#pragma once |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Copying this from internal
lib, as it will be removed when the server-side SDK is introduced and we don't want to port over the client immediately.
@@ -1,14 +1,13 @@ | |||
#pragma once |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sort includes + remove redundant namespace
@@ -1,24 +1,24 @@ | |||
#pragma once | |||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ditto
@@ -1,10 +1,8 @@ | |||
#pragma once | |||
|
|||
#include <chrono> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Remove useless using
and sort includes + remove redundant namespaces
a0a8712
to
0e07eaa
Compare
Mac CI is expected to fail due to a known issue with the updated boost libraries. |
This is a mostly removing a bunch of redundant namespace qualifiers + formatting changes in the client SDK, which I addressed while building the Redis integration.
We can merge these directly to main instead to make the Redis PR cleaner.