diff --git a/.github/workflows/code-quality.yml b/.github/workflows/code-quality.yml index 653de1a..68c6d82 100644 --- a/.github/workflows/code-quality.yml +++ b/.github/workflows/code-quality.yml @@ -46,8 +46,4 @@ jobs: run: npm run lint - name: Run format 💎 - run: npm run format - - - uses: EndBug/add-and-commit@v9 - with: - message: 'style: code quality fixes from code-quality.yml' + run: npm run format:check diff --git a/package.json b/package.json index bfa5357..19d25a4 100644 --- a/package.json +++ b/package.json @@ -10,7 +10,8 @@ "start": "node dist/index.js", "build": "tsc", "format": "prettier --ignore-path .gitignore --write .", - "lint": "", + "format:check": "prettier --check --ignore-path .gitignore --write .", + "lint": "eslint --ext \".js,.mjs,.ts,.d.ts\" --ignore-path .gitignore .", "test": "vitest --run", "test:watch": "vitest", "local": "npm uninstall -g && npm install -g && json2struct"