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: demonstrate issue w/failing rules and changes #115

Closed

Conversation

cmars
Copy link
Contributor

@cmars cmars commented Dec 10, 2021

In order to be able to introduce Optic into a project, it should
only apply rules to changes between specs. This allows Optic to be
introduced into a new project which may not yet conform to all the
standards. New changes to specs must meet these standards, but existing
specs should not fail CI.

This change introduces a spec that violates naming conventions, which
should fail if introduced as new (--to 000-fail-naming.yaml with no
--from) but should pass if compared against itself (no change means no
violating change).

In order to be able to introduce Optic into a project, it should
only apply rules to changes between specs. This allows Optic to be
introduced into a new project which may not yet conform to all the
standards. New changes to specs must meet these standards, but existing
specs should not fail CI.

This change introduces a spec that violates naming conventions, which
should fail if introduced as new (--to 000-fail-naming.yaml with no
--from) but should pass if compared against itself (no change means no
violating change).
@cmars
Copy link
Contributor Author

cmars commented Dec 14, 2021

Landed in rebased #126

@cmars cmars closed this Dec 14, 2021
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.

1 participant