mirror of
https://github.com/ahmadk953/tasko.git
synced 2025-01-31 00:53:37 +00:00
Updated linting GitHub action [skip ci]
This commit is contained in:
parent
03d97203aa
commit
941d59e7e4
2 changed files with 679 additions and 665 deletions
15
.github/workflows/eslint.yml
vendored
15
.github/workflows/eslint.yml
vendored
|
@ -30,20 +30,11 @@ jobs:
|
|||
- name: Checkout code
|
||||
uses: actions/checkout@v4
|
||||
|
||||
- name: Install ESLint
|
||||
run: |
|
||||
yarn add @next/eslint-plugin-next
|
||||
yarn add @typescript-eslint/eslint-plugin
|
||||
yarn add @typescript-eslint/parser
|
||||
yarn add @microsoft/eslint-formatter-sarif
|
||||
yarn add eslint-config-next
|
||||
yarn add eslint-config-prettier
|
||||
yarn add typescript
|
||||
yarn add eslint
|
||||
yarn add next
|
||||
- name: Install Dependencies
|
||||
run: yarn install
|
||||
|
||||
- name: Run ESLint
|
||||
run: npx next lint
|
||||
run: yarn dlx next lint
|
||||
--config .eslintrc.json
|
||||
--ext .js,.jsx,.ts,.tsx
|
||||
--format @microsoft/eslint-formatter-sarif
|
||||
|
|
Loading…
Reference in a new issue