Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update eslint config and dependencies #732

Draft
wants to merge 14 commits into
base: main
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
ci: fix running linting from a clean repo
  • Loading branch information
favna committed May 28, 2024
commit 3fa1cc7bb03f2a36e6ca2a1c405ccc99f267b80f
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