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

[DO NOT REVIEW ] Append rules that match the glob in neal.json #24

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

tapthaker
Copy link
Collaborator

Append rules that match the glob in neal.json instead of only pick the first one. This is a breaking change to neal and we could potentially decide to alter the behavior based on some flag.

Test plan: Integration tests, you can use make test to execute them

@tapthaker tapthaker force-pushed the change-rule-parsing branch from d32d04d to 2930d4e Compare May 11, 2021 03:22
// Make sure that there are only 3 errors emitted
// RUN: %not %neal %p | test $(wc -l) -eq 3

// CHECK-L:apps/Application.swift:12: error: Force-casting can easily crash the app, therefore, not allowed. (NoForceCasting)

Choose a reason for hiding this comment

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

why do we expect only NoForceCasting is triggered for this file?

@tapthaker tapthaker changed the title Append rules that match the glob in neal.json [DO NOT REVIEW ] Append rules that match the glob in neal.json May 21, 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.

2 participants