Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Fix linter errors #966

Merged
merged 5 commits into from
Oct 21, 2019
Merged

Fix linter errors #966

merged 5 commits into from
Oct 21, 2019

Conversation

tisoap
Copy link
Contributor

@tisoap tisoap commented Oct 12, 2019

While reading the source code, I noticed the project still had some linter warnings showing up, so I decided to address them before anything. The list of changes:

  • Added /test folder to test:lint script
  • Fixed all errors and warnings produced by npm run test:lint
  • Disabled react/jsx-props-no-spreading rule, since it is being used by withTranslation.js
  • Updated eslint dependencies, which in turn removed a linter warning from useTranslation.loading.spec.js

This also removes react/state-in-constructor rule, making
useTranslation.loading.spec.js file valid
@coveralls
Copy link

Coverage Status

Coverage increased (+0.02%) to 95.663% when pulling d2d404b on tisoap:fix/linter-errors into 05b3e4d on i18next:master.

@jamuhl jamuhl merged commit 2d67848 into i18next:master Oct 21, 2019
@jamuhl
Copy link
Member

jamuhl commented Oct 21, 2019

thank you

@tisoap tisoap deleted the fix/linter-errors branch October 25, 2019 12:51
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants