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 enforces editorconfig compliance #73

Merged
merged 44 commits into from
Oct 28, 2020
Merged

Conversation

JoshOrndorff
Copy link
Contributor

This PR adds a CI job to ensure that the repo conforms to our .editorconfig file.

This should help avoid issues like #26 (comment) by making sure that the code conforms before and after each PR.

Copy link
Collaborator

@crystalin crystalin left a comment

Choose a reason for hiding this comment

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

I haven't check all the lines but it seems good

@JoshOrndorff
Copy link
Contributor Author

Status update. This PR is already over 7k lines changed and I'm not done. I think that's more than we want to introduce at once. My next step will be to try again using tabs for indentation in all cases. My hope is that will create many fewer changes.

@JoshOrndorff
Copy link
Contributor Author

When I run prettier locally, it rejects the .github/workflows/release.yml file. I wonder if I'm missing a configuration or something.

@JoshOrndorff
Copy link
Contributor Author

I'm at a loss. I simply can't get the prettier CI job to fail. I've introduced two formatting errors into the tests/moonbeam-test-specs/templates/simple-specs.json file.

  1. Tab indentation on line 19
  2. incorrect blank line 29

Neither of these errors are caught.

@JoshOrndorff JoshOrndorff merged commit 4aec8f6 into master Oct 28, 2020
@JoshOrndorff JoshOrndorff deleted the joshy-editor-config2 branch October 28, 2020 19:28
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.

2 participants