Skip to content
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

fix: add prettier and eslint #388

Merged
merged 5 commits into from May 17, 2020
Merged

fix: add prettier and eslint #388

merged 5 commits into from May 17, 2020

Conversation

thedaviddias
Copy link
Member

Short description of what this resolves:

Avoid differences in formatting

Proposed changes:

  • Add basic eslint configuration (no fix to use ES6 in this PR)
  • Add lint staged for eslint and prettier

.vscode/settings.json Outdated Show resolved Hide resolved
@@ -0,0 +1,9 @@
{
"semi": false,
Copy link
Contributor

Choose a reason for hiding this comment

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

Personally, I'm a fan of semicolons because it increases readability

Do you have an argument why you want to disable semis?

@Shinigami92
Copy link
Contributor

Just trying out GitHub Review via VSCode ... and this was the finish button ... was not wanted to end the review 😅

.prettierrc Show resolved Hide resolved
.prettierrc Show resolved Hide resolved
.vscode/settings.json Outdated Show resolved Hide resolved
codecov.yml Outdated Show resolved Hide resolved
@Shinigami92
Copy link
Contributor

I will do a second review when you have resolved the suggestions and re-executed prettier

@Shinigami92 Shinigami92 added enhancement Functionality that enhances existing features chore and removed enhancement Functionality that enhances existing features labels May 17, 2020
@thedaviddias thedaviddias merged commit f0ad770 into develop May 17, 2020
@thedaviddias thedaviddias deleted the fix/prettier-eslint branch May 17, 2020 17:04
thedaviddias added a commit that referenced this pull request May 18, 2020
* add eslintrc

* eslint and prettier all files

* fix: replace by npm script

* fix: prettify more files

* fixes based on review
github-actions bot pushed a commit that referenced this pull request May 18, 2020
# [0.13.0](v0.12.2...v0.13.0) (2020-05-18)

### Bug Fixes

* add prettier and eslint ([#388](#388)) ([aba3249](aba3249))
* add semantic release test ([#399](#399)) ([616f9cd](616f9cd))
* ignore PULL_REQUEST_TEMPLATE.md ([30b0af2](30b0af2))
* use yml in semantic.yml ([86f6700](86f6700))

### Features

* Add tags checking rule - allows specify rules for any tag and validate that ([#384](#384)) ([475aaca](475aaca))
* added attr-no-unnecessary-whitespace rule ([#385](#385)) ([03bfd4f](03bfd4f))
* new rule: input-requires-label - All inputs require a label ([#159](#159)) ([5bd40fb](5bd40fb))
* new website for htmlhint.com ([#395](#395)) ([5d0d95f](5d0d95f))
Shinigami92 pushed a commit that referenced this pull request May 19, 2020
* add eslintrc

* eslint and prettier all files

* fix: replace by npm script

* fix: prettify more files

* fixes based on review
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.

None yet

2 participants