Skip to content
This repository has been archived by the owner on Oct 16, 2024. It is now read-only.

Commit

Permalink
Avoid installing old typescript-eslint in BC-test
Browse files Browse the repository at this point in the history
  • Loading branch information
stianjensen committed Sep 12, 2023
1 parent 8015a0a commit d579093
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 6 deletions.
6 changes: 1 addition & 5 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,13 +46,9 @@ jobs:
include:
- name: 'Test with Eslint v7'
cmd: |
npm i eslint@^7 \
@typescript-eslint/parser@^4 \
@typescript-eslint/eslint-plugin@^4
npm i eslint@^7
cat package-lock.json | grep -A 1 \
-e "\"node_modules/eslint\": {" \
-e "\"node_modules/@typescript-eslint/parser\": {" \
-e "\"node_modules/@typescript-eslint/eslint-plugin\": {"
test: npm run test
build: npm run build
- name: 'Test with Typescript v4'
Expand Down
2 changes: 1 addition & 1 deletion tests/rules/deprecation.test.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { TSESLint, ESLintUtils } from '@typescript-eslint/utils';
import { TSESLint } from '@typescript-eslint/utils';
import { RuleTester } from '@typescript-eslint/rule-tester';
import rule, { MessageIds, Options } from '../../src/rules/deprecation';
import * as path from 'path';
Expand Down

0 comments on commit d579093

Please sign in to comment.