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

fix(eslint-plugin): [no-unnec-type-assert] handle JSX attributes #1002

Merged
merged 11 commits into from Jan 13, 2020
2 changes: 1 addition & 1 deletion packages/eslint-plugin/tests/RuleTester.ts
Expand Up @@ -44,7 +44,7 @@ class RuleTester extends TSESLint.RuleTester {
): void {
const errorMessage = `Do not set the parser at the test level unless you want to use a parser other than ${parser}`;

// standardise the valid tests as objects
// standardize the valid tests as objects
tests.valid = tests.valid.map(test => {
if (typeof test === 'string') {
return {
Expand Down
Expand Up @@ -14,7 +14,7 @@ const ruleTester = new RuleTester({
});

// make sure each test is completely isolated
// there was some weird behaviour with the mixed ts/tsx test cases without this
// there was some weird behavior with the mixed ts/tsx test cases without this
armano2 marked this conversation as resolved.
Show resolved Hide resolved
afterEach(() => {
clearCaches();
armano2 marked this conversation as resolved.
Show resolved Hide resolved
});
Expand Down