Skip to content

Commit

Permalink
ci: linting
Browse files Browse the repository at this point in the history
  • Loading branch information
balupton committed Jan 21, 2025
1 parent 0a47ca2 commit 84d0cf7
Show file tree
Hide file tree
Showing 4 changed files with 21 additions and 20 deletions.
24 changes: 12 additions & 12 deletions .trunk/trunk.yaml
Original file line number Diff line number Diff line change
@@ -1,18 +1,18 @@
# https://features.trunk.io/check/p/trunk-doesnt-work-in-nested-repo
version: 0.1
cli:
version: 1.22.8
version: 1.22.9
plugins:
sources:
- id: trunk
ref: v1.6.5
ref: v1.6.6
uri: https://github.com/trunk-io/plugins
runtimes:
enabled:
- node@18.12.1
- node@18.20.5
- [email protected]
- [email protected]
# - node@18.12.1 <-- there's only a single Node.js file: echo-url-coder.js
# - node@18.20.5 <-- there's only a single Node.js file: echo-url-coder.js
actions:
disabled:
- trunk-announce
Expand All @@ -21,22 +21,22 @@ actions:
- trunk-upgrade-available
lint:
enabled:
- cspell@8.16.0
- bandit@1.7.10
- [email protected].4
- cspell@8.17.2
- bandit@1.8.2
- [email protected].7
- [email protected]
- [email protected].314
- [email protected].353
- [email protected]
- git-diff-check@SYSTEM
- gitleaks@8.21.2
- gitleaks@8.23.1
- [email protected]
- [email protected]
- [email protected].0
- ruff@0.8.0
- [email protected].2
- ruff@0.9.2
- [email protected]
- [email protected]
- [email protected]
- trufflehog@3.84.1
- trufflehog@3.88.2
- [email protected]
disabled:
- eslint # it can't find the bevry config extensions for some reason
Expand Down
4 changes: 2 additions & 2 deletions commands/choose
Original file line number Diff line number Diff line change
Expand Up @@ -521,7 +521,7 @@ function choose_test() (
__print_string "$enter" # select the first preference
sleep "$delay"
__print_string "$enter" # confirm the first preference
} | eval-tester --name='select second preference then cancel that, cancel to no selection then cancel that, select resetted first preference then confirm that' --stdout='b' \
} | eval-tester --name='select second preference then cancel that, cancel to no selection then cancel that, select the reset first preference then confirm that' --stdout='b' \
-- choose 'q' 'd' --confirm --default=b --default=c --default=d -- a b c d

{
Expand Down Expand Up @@ -579,7 +579,7 @@ function choose_test() (
__print_string "$enter" # select the first preference
sleep "$delay"
__print_string "$enter" # confirm the first preference
} | eval-tester --name='select second preference then cancel that, cancel to first preference then cancel that, select resetted first preference then confirm that' --stdout='b' \
} | eval-tester --name='select second preference then cancel that, cancel to first preference then cancel that, select the reset first preference then confirm that' --stdout='b' \
-- choose 'q' 'd' --confirm --required --default=b --default=c --default=d -- a b c d

{
Expand Down
1 change: 1 addition & 0 deletions cspell.json
Original file line number Diff line number Diff line change
Expand Up @@ -969,6 +969,7 @@
"sript",
"Sriram",
"statusvar",
"statx",
"stdbuf",
"stderrpipe",
"stderrvar",
Expand Down
12 changes: 6 additions & 6 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -135,13 +135,13 @@
],
"devDependencies": {
"@bevry/github-api": "^11.4.0",
"@typescript-eslint/eslint-plugin": "^8.16.0",
"@typescript-eslint/parser": "^8.16.0",
"@typescript-eslint/eslint-plugin": "^8.21.0",
"@typescript-eslint/parser": "^8.21.0",
"eslint-config-bevry": "^5.5.0",
"eslint-config-prettier": "^9.1.0",
"eslint-plugin-prettier": "^5.2.1",
"eslint": "^9.15.0",
"prettier": "^3.4.1",
"eslint-config-prettier": "^10.0.1",
"eslint-plugin-prettier": "^5.2.3",
"eslint": "^9.18.0",
"prettier": "^3.4.2",
"projectz": "^4.2.0",
"valid-directory": "^4.9.0"
},
Expand Down

0 comments on commit 84d0cf7

Please sign in to comment.