This repository has been archived by the owner on Oct 16, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 39
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: migrate to typescript-eslint/utils 6.x (#71)
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
1 parent
df4dc23
commit 5a32ce0
Showing
8 changed files
with
465 additions
and
345 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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 | ||
|
Oops, something went wrong.