Skip to content

Commit

Permalink
ci: fix running linting from a clean repo
Browse files Browse the repository at this point in the history
  • Loading branch information
favna committed Apr 7, 2024
1 parent 0dc82d0 commit 041a1f8
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 12 deletions.
17 changes: 7 additions & 10 deletions .github/workflows/continuous-integration.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,16 +25,13 @@ jobs:
run: yarn --immutable
- name: Build ESLint, Prettier and Utilities
run: |
yarn workspaces foreach \
--all \
--parallel \
--include @sapphire/eslint-config \
--include @sapphire/prettier-config \
--include @sapphire/eslint-plugin-result \
--include @sapphire/result \
--include @sapphire/node-utilities \
--include @sapphire/utilities \
run build
yarn turbo run build \
--filter=@sapphire/eslint-config \
--filter=@sapphire/prettier-config \
--filter=@sapphire/eslint-plugin-result \
--filter=@sapphire/result \
--filter=@sapphire/node-utilities \
--filter=@sapphire/utilities
- name: Run ESLint
run: yarn lint --fix=false

Expand Down
4 changes: 2 additions & 2 deletions packages/ts-config/tsconfig.eslint.json
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
{
"extends": "src/tsconfig.json",
"extends": "./src/tsconfig.json",
"compilerOptions": {
"allowJs": true,
"checkJs": true
},
"include": ["scripts", "tests"]
"include": ["src", "tests"]
}
3 changes: 3 additions & 0 deletions turbo.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,10 @@
"dependsOn": [
"@sapphire/prettier-config#build",
"@sapphire/eslint-config#build",
"@sapphire/eslint-plugin-result#build",
"@sapphire/utilities#build",
"@sapphire/node-utilities#build",
"@sapphire/result#build",
"@sapphire/duration#build"
],
"outputs": []
Expand Down

0 comments on commit 041a1f8

Please sign in to comment.