Skip to content

chore: modernize code / no-var - #394

Merged
Shinigami92 merged 11 commits into
developfrom
chore/no-var
May 19, 2020
Merged

Shinigami92 merged 11 commits into
developfrom
chore/no-var

Conversation

@Shinigami92

Copy link
Copy Markdown
Contributor

Short description of what this resolves:

Modernize the code and use es6 let and const

Proposed changes:

thedaviddias
thedaviddias previously approved these changes May 19, 2020

@thedaviddias thedaviddias left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Good bye varrrr! 👋

@Shinigami92
Shinigami92 requested a review from thedaviddias May 19, 2020 13:00
thedaviddias
thedaviddias previously approved these changes May 19, 2020
it('Should check required attributes with specifyed values', () => {
var code = '<sometag attrname="attrvalue" />'
var messages = HTMLHint.verify(code, ruleOptions)
let code = '<sometag attrname="attrvalue" />'

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

why let?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Because it gets reassigned 3 lines below

@Shinigami92
Shinigami92 requested a review from thedaviddias May 19, 2020 14:07
@Shinigami92
Shinigami92 merged commit 1ccca7e into develop May 19, 2020
@Shinigami92
Shinigami92 deleted the chore/no-var branch May 19, 2020 14:10
@thedaviddias

Copy link
Copy Markdown
Member

🎉 This PR is included in version 0.13.1-beta.1 🎉

The release is available on:

Your semantic-release bot 📦🚀

@thedaviddias

Copy link
Copy Markdown
Member

🎉 This PR is included in version 0.13.1 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants