Skip to content

Conversation

@johnsimons
Copy link
Member

So I did a complete reformat again of the whole code, not many changes from it.
I fixed all the eslint rules that were set as warnings, eg prefer-const, triple equality.
Finally I enabled a few more eslint rules to do with imports.

So lots of files changed but mostly just code style updated.

@johnsimons johnsimons self-assigned this Feb 5, 2024
function parseObject(obj, propertiesToSkip, path) {
if (path == undefined) path = "";
if (path === undefined) path = "";
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

should be comparing to == null rather than === undefined I would think?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We are using the "smart" mode, and it seems to suggest ===.
@PhilBastian is the "smart" mode the wrong setting?

'<div class="license-warning"><strong>Non-production development license expiring</strong><div>Your non-production development license will expire soon. To continue using the Particular Service Platform you\'ll need to extend your license.</div><a href="http://particular.net/extend-your-trial?p=servicepulse" class="btn btn-license-warning"><i class="fa fa-external-link-alt"></i> Extend your license</a><a href="#/configuration" class="btn btn-license-warning-light">View license details</a></div>';

export var license = reactive({
export let license = reactive({
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

should be const

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We reassign license later on.
Maybe we should not do that!

Base automatically changed from john/nojs to master February 6, 2024 01:26
@johnsimons
Copy link
Member Author

johnsimons commented Feb 6, 2024

@PhilBastian I have reverted the svg changes and added prettier ignore to it

@johnsimons johnsimons merged commit 092c634 into master Feb 6, 2024
@johnsimons johnsimons deleted the john/coffee branch February 6, 2024 02:08
@mikeminutillo mikeminutillo added the Type: Refactoring Type: Refactoring label Feb 7, 2024
@mikeminutillo mikeminutillo added this to the vNext milestone Feb 7, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Type: Refactoring Type: Refactoring

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants