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(clean-up): Adjust ESLint/Codacy rules + fix some issues #346

Merged
merged 32 commits into from
Aug 30, 2020

Conversation

adrienjoly
Copy link
Member

@adrienjoly adrienjoly commented Aug 29, 2020

By:

  • fixing issues listed by $ npm run lint:fix
  • fixing issues listed by Codacy
  • removing code that is not used anymore

=> Resulting Codacy stats of this PR:

  • fixes 278 issues
  • removes 5 duplicated blocks
  • removes 9 complexity issues

Next steps:

  • fix HTML and CSS errors that are reported by prettier, especially in common.css
  • make sure that bookmarklet.js is analyzed by ESlint

@adrienjoly adrienjoly changed the title fix: just warn for "Move function declaration to function body root." fix(clean-up): Adjust ESLint/Codacy rules + fix some issues Aug 29, 2020
@adrienjoly adrienjoly self-assigned this Aug 30, 2020
@adrienjoly adrienjoly added this to 📥 Inbox / ideas in Development via automation Aug 30, 2020
@adrienjoly adrienjoly moved this from 📥 Inbox / ideas to ⚙ In progress in Development Aug 30, 2020
@adrienjoly adrienjoly marked this pull request as ready for review August 30, 2020 09:21
@adrienjoly adrienjoly merged commit c4d08a9 into master Aug 30, 2020
Development automation moved this from ⚙ In progress to ✔️ Done / pending QA Aug 30, 2020
@adrienjoly adrienjoly deleted the fix/codacy-and-eslint-issues branch August 30, 2020 09:24
adrienjoly pushed a commit that referenced this pull request Aug 30, 2020
## [1.34.16](v1.34.15...v1.34.16) (2020-08-30)

### Bug Fixes

* **clean-up:** Adjust ESLint/Codacy rules + fix some issues ([#346](#346)) ([c4d08a9](c4d08a9))
@adrienjoly adrienjoly moved this from ✔️ Done / pending QA to 🌲 In production in Development Aug 30, 2020
adrienjoly added a commit that referenced this pull request Aug 30, 2020
Follow up for PR #346.

=> no more syntax errors reported by `$(npm bin)/prettier . --write` 🎉

Also, it:
- finishes the migration of the `bookmarklet` test from Webdriver to Cypress.
- updates argon2 from v0.25.1 to v0.27.0, in order to prevent fix the broken download of binaries from GitHub releases
- fixes "Uncaught ReferenceError: Barelog is not defined" on CI
adrienjoly pushed a commit that referenced this pull request Aug 30, 2020
## [1.34.17](v1.34.16...v1.34.17) (2020-08-30)

### Bug Fixes

* **lint:** Fix ESLint & Codacy issues ([#348](#348)) ([440dda6](440dda6)), closes [#346](#346)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Development
  
🌲 In production
Development

Successfully merging this pull request may close these issues.

None yet

1 participant