Skip to content

Commit 5f41dda

Browse files
committed
Skip test on typescript-eslint-parser when eslint < 4
1 parent e48eb0e commit 5f41dda

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/src/rules/export.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -118,7 +118,7 @@ context('Typescript', function () {
118118
parsers.push(require.resolve('@typescript-eslint/parser'))
119119
}
120120

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

0 commit comments

Comments
 (0)