From e363debba81133b70c00b61fdf410474ddfe5ae2 Mon Sep 17 00:00:00 2001 From: Abheek Dhawan <67982792+ADawesomeguy@users.noreply.github.com> Date: Fri, 22 Jul 2022 23:17:38 -0500 Subject: [PATCH 1/2] style: add lint script --- package.json | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/package.json b/package.json index 000d8e0..65082ec 100644 --- a/package.json +++ b/package.json @@ -19,7 +19,8 @@ "name": "awesomescibo", "version": "4.7.4", "scripts": { - "build": "yarn tsc" + "build": "tsc", + "lint": "eslint ./src --ext .js,.jsx,.ts,.tsx" }, "keywords": [ "discord", From bf0331c87d26453894ea55a77c65ecb1d75addaf Mon Sep 17 00:00:00 2001 From: Abheek Dhawan <67982792+ADawesomeguy@users.noreply.github.com> Date: Fri, 22 Jul 2022 23:18:24 -0500 Subject: [PATCH 2/2] ci: use npm run script for linting --- .github/workflows/eslint.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/eslint.yml b/.github/workflows/eslint.yml index 152fb62..16c8f6a 100644 --- a/.github/workflows/eslint.yml +++ b/.github/workflows/eslint.yml @@ -12,4 +12,4 @@ jobs: - name: Install modules run: yarn - name: Run ESLint - run: yarn run eslint ./src --ext .js,.jsx,.ts,.tsx + run: yarn run lint