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

Commit

Permalink
feat: migrate to typescript-eslint/utils 6.x (#71)
Browse files Browse the repository at this point in the history
BREAKING CHANGE: Dropped support for ESLint v6 and Typescript v3.7.5, please make sure to use at least ESLint v7 with Typescript v4.2 or downgrade to a previous major version.
  • Loading branch information
stianjensen authored and gund committed Sep 13, 2023
1 parent df4dc23 commit 5a32ce0
Show file tree
Hide file tree
Showing 8 changed files with 465 additions and 345 deletions.
36 changes: 3 additions & 33 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,49 +47,19 @@ jobs:
- name: 'Test with Eslint v7'
cmd: |
npm i eslint@^7 \
@typescript-eslint/parser@^4 \
@typescript-eslint/eslint-plugin@^4
typescript-eslint-utils-5@npm:@typescript-eslint/utils@^5.57.0
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 Eslint v6'
cmd: |
npm i eslint@^6 \
@typescript-eslint/parser@^3 \
@typescript-eslint/eslint-plugin@^3
cat package-lock.json | grep -A 1 \
-e "\"node_modules/eslint\": {" \
-e "\"node_modules/@typescript-eslint/parser\": {" \
-e "\"node_modules/@typescript-eslint/eslint-plugin\": {"
-e "\"node_modules/typescript-eslint-utils-5\": {" \
test: npm run test
build: npm run build
- name: 'Test with Typescript v4'
cmd: |
npm i typescript@^4
npm i typescript@^4.2
cat package-lock.json | grep -A 1 \
-e "\"node_modules/typescript\": {"
test: npm run test
build: npm run build
- name: 'Test with Typescript v3.7.5'
cmd: |
npm i -D jest@~27.0.0 \
ts-jest@~27.0.0 \
@types/jest@~27.0.0 \
@types/node@^16.0.0 \
@typescript-eslint/[email protected] \
@typescript-eslint/[email protected] \
eslint@~8.0.0 \
--force
npm i [email protected] --force
cat package-lock.json | grep -A 1 \
-e "\"node_modules/typescript\": {" \
-e "\"node_modules/jest\": {" \
-e "\"node_modules/ts-jest\": {"
test: BC_MODE=1 npm run test
build: false
name: '[BC] ${{ matrix.name }}'
steps:
- uses: actions/setup-node@v3
Expand Down
Loading

0 comments on commit 5a32ce0

Please sign in to comment.