chore(lint): prettier

Signed-off-by: Ismo Vuorinen <ismo@ivuorinen.net>
This commit is contained in:
2025-06-12 10:20:58 +03:00
parent 519d8398de
commit 4d548687e1
15 changed files with 127 additions and 133 deletions

View File

@@ -19,7 +19,6 @@ jobs:
permissions: write-all permissions: write-all
steps: steps:
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 - uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
- name: GitHub Actions - name: GitHub Actions

View File

@@ -5,7 +5,7 @@ name: Pre-commit autoupdate
on: on:
schedule: schedule:
# At 04:00 on Monday and Thursday. # At 04:00 on Monday and Thursday.
- cron: "0 4 * * 1,4" - cron: '0 4 * * 1,4'
workflow_dispatch: workflow_dispatch:
concurrency: concurrency:
@@ -33,6 +33,6 @@ jobs:
with: with:
token: ${{ secrets.GITHUB_TOKEN }} token: ${{ secrets.GITHUB_TOKEN }}
branch: update/pre-commit-hooks branch: update/pre-commit-hooks
title: "chore: update pre-commit hooks" title: 'chore: update pre-commit hooks'
commit-message: "chore: update pre-commit hooks" commit-message: 'chore: update pre-commit hooks'
body: Update versions of pre-commit hooks to latest version. body: Update versions of pre-commit hooks to latest version.

View File

@@ -11,7 +11,7 @@ on:
- .github/workflows/sync-labels.yml - .github/workflows/sync-labels.yml
- .github/labels.yml - .github/labels.yml
schedule: schedule:
- cron: "34 5 * * *" - cron: '34 5 * * *'
workflow_call: workflow_call:
workflow_dispatch: workflow_dispatch:

View File

@@ -5,7 +5,7 @@ name: Update submodules
on: on:
schedule: schedule:
# At 04:00 on Monday and Thursday. # At 04:00 on Monday and Thursday.
- cron: "0 4 * * 1" - cron: '0 4 * * 1'
workflow_dispatch: workflow_dispatch:
concurrency: concurrency:
@@ -21,7 +21,6 @@ jobs:
permissions: write-all permissions: write-all
steps: steps:
- name: Checkout repository - name: Checkout repository
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
with: with:

View File

@@ -1,5 +1,3 @@
{ {
"diagnostics.globals": [ "diagnostics.globals": ["vim"]
"vim"
]
} }

View File

@@ -75,7 +75,6 @@ cheatpaths:
path: ~/.dotfiles/config/cheat/cheatsheets/personal path: ~/.dotfiles/config/cheat/cheatsheets/personal
tags: [personal] tags: [personal]
readonly: false readonly: false
# While it requires no configuration here, it's also worth noting that # While it requires no configuration here, it's also worth noting that
# cheat will automatically append directories named '.cheat' within the # cheat will automatically append directories named '.cheat' within the
# current working directory to the 'cheatpath'. This can be very useful if # current working directory to the 'cheatpath'. This can be very useful if

View File

@@ -112,9 +112,7 @@
{ {
"background": "transparent", "background": "transparent",
"foreground": "lightGreen", "foreground": "lightGreen",
"foreground_templates": [ "foreground_templates": ["{{ if gt .Code 0 }}red{{ end }}"],
"{{ if gt .Code 0 }}red{{ end }}"
],
"properties": { "properties": {
"always_enabled": true "always_enabled": true
}, },
@@ -129,9 +127,7 @@
"transient_prompt": { "transient_prompt": {
"background": "transparent", "background": "transparent",
"foreground": "lightGreen", "foreground": "lightGreen",
"foreground_templates": [ "foreground_templates": ["{{ if gt .Code 0 }}red{{ end }}"],
"{{ if gt .Code 0 }}red{{ end }}"
],
"template": "\u279c " "template": "\u279c "
}, },
"version": 2 "version": 2

View File

@@ -1,8 +1,6 @@
{ {
"account_id": "S5Z2DMNFKJEZBPCWRHRWC4DCGI", "account_id": "S5Z2DMNFKJEZBPCWRHRWC4DCGI",
"entrypoint": [ "entrypoint": ["gh"],
"gh"
],
"credentials": [ "credentials": [
{ {
"plugin": "github", "plugin": "github",

View File

@@ -1 +1,7 @@
[{"account_id":"S5Z2DMNFKJEZBPCWRHRWC4DCGI","vault_id":"injcin7obv3jdet3r2u3kfihfy","item_id":"f6vinbnc6l7ngdzvlw66ayewlq"}] [
{
"account_id": "S5Z2DMNFKJEZBPCWRHRWC4DCGI",
"vault_id": "injcin7obv3jdet3r2u3kfihfy",
"item_id": "f6vinbnc6l7ngdzvlw66ayewlq"
}
]

View File

@@ -3,7 +3,7 @@
## main ## main
| Key | Command(s) and actions | | Key | Command(s) and actions |
|-----------------|-----------------------------------------------| | -------------- | -------------------------------------------- |
| alt-a | mode apps | | alt-a | mode apps |
| alt-h | focus left | | alt-h | focus left |
| alt-j | focus down | | alt-j | focus down |
@@ -21,7 +21,7 @@
## apps ## apps
| Key | Command(s) and actions | | Key | Command(s) and actions |
|------|----------------------------------------------------------------------| | --- | ------------------------------------------------------------------ |
| b | exec-and-forget open -a /Applications/Brave Browser.app; mode main | | b | exec-and-forget open -a /Applications/Brave Browser.app; mode main |
| c | exec-and-forget open -a /Applications/Ferdium.app; mode main | | c | exec-and-forget open -a /Applications/Ferdium.app; mode main |
| esc | reload-config; mode main | | esc | reload-config; mode main |
@@ -34,7 +34,7 @@
## move ## move
| Key | Command(s) and actions | | Key | Command(s) and actions |
|--------------|--------------------------------------------------| | ----------- | ----------------------------------------------- |
| 1 | move-node-to-workspace 1 --focus-follows-window | | 1 | move-node-to-workspace 1 --focus-follows-window |
| 2 | move-node-to-workspace 2 --focus-follows-window | | 2 | move-node-to-workspace 2 --focus-follows-window |
| ctrl-h | resize smart -70 | | ctrl-h | resize smart -70 |
@@ -55,7 +55,7 @@
## service ## service
| Key | Command(s) and actions | | Key | Command(s) and actions |
|------------|-------------------------------------------| | --------- | ---------------------------------------- |
| backspace | close-all-windows-but-current; mode main | | backspace | close-all-windows-but-current; mode main |
| esc | reload-config; mode main | | esc | reload-config; mode main |
| f | layout floating tiling; mode main | | f | layout floating tiling; mode main |

View File

@@ -3,7 +3,7 @@
This file lists all aliases defined in `config/alias`. This file lists all aliases defined in `config/alias`.
| Alias | Command | | Alias | Command |
| ------------- | ------------------------------------------------------------------------------------------------------------------------------ | | ------------- | ------------------------------------------------------------------------------------------------------------- | --------------------------------------------------- |
| `....` | `cd ../../..` | | `....` | `cd ../../..` |
| `...` | `cd ../..` | | `...` | `cd ../..` |
| `..` | `cd ..` | | `..` | `cd ..` |
@@ -20,7 +20,7 @@ This file lists all aliases defined in `config/alias`.
| `flush` | `dscacheutil -flushcache` | | `flush` | `dscacheutil -flushcache` |
| `grep` | `grep --color` | | `grep` | `grep --color` |
| `hide` | `defaults write com.apple.finder AppleShowAllFiles -bool false; killall Finder` | | `hide` | `defaults write com.apple.finder AppleShowAllFiles -bool false; killall Finder` |
| `ips` | `ifconfig -a \| grep -o 'inet6\? \(\([0-9]\+\.[0-9]\+\.[0-9]\+\.[0-9]\+\)\\|[a-fA-F0-9:]\+\)' \| sed -e 's/inet6* //' \| sort` | | `ips` | `ifconfig -a \| grep -o 'inet6\? \(\([0-9]\+\.[0-9]\+\.[0-9]\+\.[0-9]\+\)\\ | [a-fA-F0-9:]\+\)' \| sed -e 's/inet6\* //' \| sort` |
| `irssi` | `irssi --config=$XDG_CONFIG_HOME/irssi/config --home=$XDG_CONFIG_HOME/irssi` | | `irssi` | `irssi --config=$XDG_CONFIG_HOME/irssi/config --home=$XDG_CONFIG_HOME/irssi` |
| `isodate` | `date +'%Y-%m-%d'` | | `isodate` | `date +'%Y-%m-%d'` |
| `l` | `ls -a` | | `l` | `ls -a` |

View File

@@ -87,4 +87,3 @@ Leader: `<ctrl><space>`
S-Left Move the visible part of the window left S-Left Move the visible part of the window left
S-Right Move the visible part of the window right S-Right Move the visible part of the window right
``` ```

View File

@@ -20,7 +20,7 @@ Some problematic code has been fixed per `shellcheck` suggestions.
## Sourced ## Sourced
| Script | Source | | Script | Source |
|-------------------------|-------------------| | ----------------------- | ----------------- |
| `x-dupes` | skx/sysadmin-util | | `x-dupes` | skx/sysadmin-util |
| `x-foreach` | mvdan/dotfiles | | `x-foreach` | mvdan/dotfiles |
| `x-multi-ping` | skx/sysadmin-util | | `x-multi-ping` | skx/sysadmin-util |