Skip to content

Commit

Permalink
[Tests] skip failing typescript tests in eslint <= 3
Browse files Browse the repository at this point in the history
  • Loading branch information
ljharb committed Jul 17, 2019
1 parent 915f571 commit b5c8285
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
1 change: 0 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,6 @@
"homepage": "https://github.com/benmosher/eslint-plugin-import",
"devDependencies": {
"@eslint/import-test-order-redirect-scoped": "file:./tests/files/order-redirect-scoped",
"@typescript-eslint/parser": "1.10.3-alpha.13",
"babel-cli": "^6.26.0",
"babel-core": "^6.26.3",
"babel-eslint": "^8.2.6",
Expand Down
2 changes: 1 addition & 1 deletion tests/src/rules/no-deprecated.js
Original file line number Diff line number Diff line change
Expand Up @@ -209,7 +209,7 @@ describe('Typescript', function () {
parsers.push(require.resolve('@typescript-eslint/parser'))
}

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

Expand Down

0 comments on commit b5c8285

Please sign in to comment.