Skip to content

Commit

Permalink
Skip test on typescript-eslint-parser when eslint < 4
Browse files Browse the repository at this point in the history
  • Loading branch information
golopot committed Jul 17, 2019
1 parent e48eb0e commit 5f41dda
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/src/rules/export.js
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@ context('Typescript', function () {
parsers.push(require.resolve('@typescript-eslint/parser'))
}

if (semver.satisfies(eslintPkg.version, '<6.0.0')) {
if (semver.satisfies(eslintPkg.version, '>=4.0.0 <6.0.0')) {
parsers.push(require.resolve('typescript-eslint-parser'))
}

Expand Down

0 comments on commit 5f41dda

Please sign in to comment.