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

Simplify some tests by setting parserOptions globally instead of in each individual test case #570

Merged
merged 1 commit into from
Nov 6, 2019
Merged

Simplify some tests by setting parserOptions globally instead of in each individual test case #570

merged 1 commit into from
Nov 6, 2019

Conversation

bmish
Copy link
Member

@bmish bmish commented Nov 6, 2019

Significantly simplifies many test files and improves readability. This allows many valid test cases to be strings instead of objects.

If all individual test cases in a file specify the same parserOptions, then parserOptions should be set globally instead.

Relevant:

@bmish bmish added the Internal label Nov 6, 2019
… of in each individual test case

Significantly simplifies many test files and improves readability. This allows many valid test cases to be strings instead of objects.

If all individual test cases in a file specify the same `parserOptions`, then `parserOptions` should be set globally instead.

Relevant: https://github.com/not-an-aardvark/eslint-plugin-eslint-plugin/blob/master/docs/rules/test-case-shorthand-strings.md
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant