diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 0de5abf5f7..d95800518c 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -42,9 +42,9 @@ jobs: run: | npm run tsc - - name: Run tslint + - name: Run linters run: | - npm run tslint + npm run lint jest-tests: runs-on: ubuntu-latest @@ -70,4 +70,4 @@ jobs: - name: Run jest run: | - npm run test \ No newline at end of file + npm run test diff --git a/package.json b/package.json index a982512e23..b9d0f9a657 100644 --- a/package.json +++ b/package.json @@ -197,7 +197,7 @@ "codegen": "apollo codegen:generate --target=typescript gqlTypes", "codegen-sdk": "apollo codegen:generate --target=typescript gqlTypes --config src/@sdk/apollo.config.js --globalTypesFile src/@sdk/gqlTypes/globalTypes.ts", "codegen-watch": "npm run codegen -- --watch", - "tslint": "tslint 'src/**/*.ts?(x)'", + "lint": "eslint src", "tsc": "npx tsc --noEmit & npx tsc --noEmit -p src/@next", "heroku-postbuild": "npm run build", "sitemap": "ts-node ./src/sitemap-builder.ts",