Skip to content

Commit

Permalink
refactor(ci/lint): ignore dist and resolve pnpm scripts
Browse files Browse the repository at this point in the history
  • Loading branch information
Walidoux committed Aug 23, 2023
1 parent 57a74e6 commit c191e55
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 5 deletions.
4 changes: 3 additions & 1 deletion .eslintrc.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,5 +7,7 @@
"sourceType": "module",
"ecmaVersion": 2023,
"project": ["./tsconfig.json"]
}
},

"ignorePatterns": ["dist"]
}
6 changes: 3 additions & 3 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,10 +33,10 @@ jobs:
run: pnpm install --no-frozen-lockfile

- name: Tsc > Type checking
run: yarn lint:typescript
run: pnpm lint:typescript

- name: Prettier > Formatting
run: yarn lint:prettier
run: pnpm lint:prettier

- name: Eslint > Analyzing
run: yarn lint:eslint
run: pnpm lint:eslint
2 changes: 1 addition & 1 deletion tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,5 +25,5 @@
"strictFunctionTypes": true
},

"exclude": ["node_modules", "dist"]
"exclude": ["node_modules", "dist", "example"]
}

0 comments on commit c191e55

Please sign in to comment.