-
-
Notifications
You must be signed in to change notification settings - Fork 26
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
Rule Proposal: prefer-global-parser-options
#85
Comments
related: #4 It's fine to use the global option when it's the same in all tests. The question is what to do if some options are different. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
If all test cases specify the same
parserOptions
, thenparserOptions
should be set globally in the test file when creating theRuleTester
to simplify the individual test cases.Before:
After:
The text was updated successfully, but these errors were encountered: