diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 6d0fc8a..d0deb7c 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -34,5 +34,5 @@ jobs: - name: Install dependencies run: npm ci - - name: Lint + - name: Run linters run: npm run lint diff --git a/package.json b/package.json index a10e499..b25d4ed 100644 --- a/package.json +++ b/package.json @@ -1,11 +1,15 @@ { "scripts": { "build": "next build", - "lint": "next lint", + "eslint:check": "next lint", + "eslint:fix": "next lint --fix", + "lint": "npm run stylelint:check && npm run eslint:check", "prepare": "husky", "prettier:check": "npx prettier . --check", - "prettier:write": "npx prettier . --write", - "start": "next dev" + "prettier:fix": "npx prettier . --write", + "start": "next dev", + "stylelint:check": "npx stylelint **/*.css", + "stylelint:fix": "npx stylelint **/*.css --fix" }, "dependencies": { "next": "^14.1.0",