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

Commits on Nov 6, 2019

  1. test: simplify some tests by setting parserOptions globally instead…

    … 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
    bmish committed Nov 6, 2019
    Configuration menu
    Copy the full SHA
    982c217 View commit details
    Browse the repository at this point in the history