From 0adb7ab4abb2a881e7e06491f7fe301c33716852 Mon Sep 17 00:00:00 2001 From: Ijemma Onwuzulike Date: Thu, 16 Feb 2023 07:49:14 -0500 Subject: [PATCH] chore: change eslint action runner --- .github/workflows/lint.yml | 6 ++---- package.json | 16 ++++++++-------- 2 files changed, 10 insertions(+), 12 deletions(-) diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index bf0346fe..fd3aef82 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -19,7 +19,5 @@ jobs: - name: Install Node.js dependencies run: yarn install - - name: Run linters - uses: wearerequired/lint-action@v1 - with: - eslint: true \ No newline at end of file + - name: Run ESLint + run: yarn run eslint ./src --ext .js,.jsx,.ts,.tsx \ No newline at end of file diff --git a/package.json b/package.json index b8a866df..2074eb60 100644 --- a/package.json +++ b/package.json @@ -145,14 +145,14 @@ "babel-loader": "^8.1.0", "cross-env": "^7.0.2", "cypress": "^6.0.0", - "eslint": "7.10.0", - "eslint-config-airbnb": "^18.2.0", - "eslint-config-next": "^12.0.7", - "eslint-config-prettier": "^6.12.0", - "eslint-plugin-cypress": "^2.11.2", - "eslint-plugin-import": "^2.22.1", - "eslint-plugin-jsx-a11y": "^6.3.1", - "eslint-plugin-react": "^7.21.3", + "eslint": "8.34.0", + "eslint-config-airbnb": "19.0.4", + "eslint-config-next": "13.1.6", + "eslint-config-prettier": "8.6.0", + "eslint-plugin-cypress": "2.12.1", + "eslint-plugin-import": "2.27.5", + "eslint-plugin-jsx-a11y": "6.7.1", + "eslint-plugin-react": "7.32.2", "husky": "^4.3.0", "jest": "^29.2.2", "lint-staged": "^10.4.0",