standardize constant naming/imports #2119

Merged
neb-b merged 1 commit from constants into master 2018-11-27 19:30:12 +01:00
neb-b commented 2018-11-26 02:22:57 +01:00 (Migrated from github.com)

PR Type

  • Bugfix
  • Feature
  • Breaking changes (bugfix or feature that introduces breaking changes)
  • Code style update (formatting)
  • Refactoring (no functional changes)
  • Documentation changes
  • Other - Please describe:

Notes

Some constant imports were being named with lowercase and some were uppercase. This PR changes all of them to uppercase and moves the constant import to the top. It also moves type imports above constants.

New import pattern

// import types
// import constants
// rest of imports
## PR Type <!-- Please check all that apply to this PR using "x". --> - [ ] Bugfix - [ ] Feature - [ ] Breaking changes (bugfix or feature that introduces breaking changes) - [x] Code style update (formatting) - [ ] Refactoring (no functional changes) - [ ] Documentation changes - [ ] Other - Please describe: ## Notes Some constant imports were being named with lowercase and some were uppercase. This PR changes all of them to uppercase and moves the constant import to the top. It also moves type imports above constants. New import pattern ``` // import types // import constants // rest of imports ```
skhameneh (Migrated from github.com) approved these changes 2018-11-26 23:31:58 +01:00
Sign in to join this conversation.
No reviewers
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: LBRYCommunity/lbry-desktop#2119
No description provided.