Thanks to visit codestin.com
Credit goes to github.com

Skip to content

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.

3 participants