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

ci(lint): fix CI workflow not linting files #898

Merged
merged 4 commits into from
Dec 18, 2024
Merged

Conversation

gdostie
Copy link
Contributor

@gdostie gdostie commented Dec 17, 2024

I realized the the CI is somehow not linting files anymore or running prettier, which lead to PRs with faulty code style being merged in the master branch.

This PR does the following:

  1. Add back lint during CI
  2. Lint fix the whole repo
  3. Remove eslint from the lint-staged process. Since we lint in the CI anyways, we don't need to slowdown the pre-commit hook too much.

Acceptance Criteria

  • My changes are publicly available, documented, and deployed in production. (i.e. on Swagger)
  • JSDoc annotates each property added in the exported interfaces
  • The proposed changes are covered by unit tests
  • Commits containing breaking changes a properly identified as such
  • README.md is adjusted to reflect the proposed changes (if relevant)
  • My merge commit message will be conventional (See Conventional Commit)

package.json Outdated Show resolved Hide resolved
package.json Show resolved Hide resolved
Copy link
Member

@toofff toofff left a comment

Choose a reason for hiding this comment

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

Nice !!!

Copy link
Contributor

@FelixBlaisThon FelixBlaisThon left a comment

Choose a reason for hiding this comment

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

Shame on me not seeing this, thanks

@gdostie gdostie added this pull request to the merge queue Dec 18, 2024
Merged via the queue into master with commit c992539 Dec 18, 2024
5 checks passed
@gdostie gdostie deleted the ADUI-10444-lint-in-ci branch December 18, 2024 16:45
Copy link

🎉 This PR is included in version 57.8.0 🎉

The release is available on:

Your semantic-release bot 📦🚀

paulgerold pushed a commit that referenced this pull request Dec 19, 2024
* ci: run lint during CI workflow

* chore(format): run lint fix

* build(lint): stop running eslint on pre-commit

We lint on the CI anyway so no need to slowdown the commit process

* refactor(npm): remove echo in lint script
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants