Skip to content
This repository has been archived by the owner on Oct 10, 2022. It is now read-only.

Fix linting and prettifying #59

Merged
merged 1 commit into from
Sep 10, 2019
Merged

Conversation

ehmicky
Copy link
Contributor

@ehmicky ehmicky commented Sep 10, 2019

- Summary

We have Prettier setup but it is not triggered by the npm scripts. This creates a test:prettier npm script which is triggered as part of npm test.

As a consequence several files are not prettified at the moment. Those files are now prettified.

This also adds the --fix flag to eslint.

The extends key was also duplicated and with different values inside the .eslintrc.json.

- Description for the changelog

Add Prettier and ESLint autofix to automated scripts.

@coveralls
Copy link

Coverage Status

Coverage remained the same at 66.531% when pulling d348ef0 on refactor/fix-linting-prettier into afaf9b1 on master.

Copy link
Contributor

@RaeesBhatti RaeesBhatti left a comment

Choose a reason for hiding this comment

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

👍 👍 👍 👍

@ehmicky ehmicky merged commit 3d40ef4 into master Sep 10, 2019
@ehmicky ehmicky deleted the refactor/fix-linting-prettier branch September 10, 2019 16:26
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants