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

chore: synchronise linting rules of repositories #66

Merged

Conversation

benceharomi
Copy link
Contributor

@benceharomi benceharomi commented Oct 23, 2023

What ❔

Synchronise the linting and formatting rules of the repositories, use the configs from the era-system-contracts repository as a base.

Steps:

  1. update the linf/format configs of the ethereum dir
  2. add the lint/format configs to the zksync dir
  3. add missing packages, update outdated packages to the the same version as in the era-system-contracts
  4. format/lint all of the files in both dirs
  5. add zksync linting to the CI

Simplified/standardised the way of calling the linting/formatting commands, see: matter-labs/era-system-contracts#49

Added pre-commit and pre-push hooks to check formatting/linting automatically with PR #75

Why ❔

Currently the era-contracts and the era-system-contracts repositories have different linting and formatting rules, the goal of this task is to synchronise them.

Checklist

  • PR title corresponds to the body of PR (we generate changelog entries from PRs).
  • Tests for the changes have been added / updated.
  • Documentation comments have been added / updated.

@benceharomi benceharomi changed the title lint: synchronise linting rules of repositories chore: synchronise linting rules of repositories Oct 25, 2023
@benceharomi benceharomi marked this pull request as ready for review October 26, 2023 11:36
@StanislavBreadless StanislavBreadless merged commit 5772ecd into dev Nov 2, 2023
12 checks passed
@StanislavBreadless StanislavBreadless deleted the bh-evm-294-synchronise-linting-rules-of-repositories branch November 2, 2023 13:56
benceharomi pushed a commit that referenced this pull request Nov 17, 2023
…bel-external-contributions

ci: add workflow to label external-contributions
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.

3 participants