Skip to content

Commit

Permalink
modified: .trunk/trunk.yaml
Browse files Browse the repository at this point in the history
  • Loading branch information
ss-o committed Mar 22, 2023
1 parent 2959c99 commit 385bee4
Show file tree
Hide file tree
Showing 7 changed files with 53 additions and 36 deletions.
10 changes: 0 additions & 10 deletions .shellcheckrc

This file was deleted.

File renamed without changes.
File renamed without changes.
9 changes: 9 additions & 0 deletions .trunk/configs/.shellcheckrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
enable=all
source-path=SCRIPTDIR
disable=SC2154

# If you're having issues with shellcheck following source, disable the errors via:
disable=SC1090
disable=SC1091
disable=SC1071
disable=SC2148
10 changes: 10 additions & 0 deletions .trunk/configs/.yamllint.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
rules:
quoted-strings:
required: only-when-needed
extra-allowed: ["{|}"]
empty-values:
forbid-in-block-mappings: true
forbid-in-flow-mappings: true
key-duplicates: {}
octal-values:
forbid-implicit-octal: true
44 changes: 25 additions & 19 deletions .trunk/trunk.yaml
Original file line number Diff line number Diff line change
@@ -1,34 +1,40 @@
version: 0.1
cli:
version: 0.18.0-beta
options:
- commands: [check, fmt]
- args: -y
version: 1.6.1
plugins:
sources:
- id: trunk
ref: v0.0.3
ref: v0.0.13
uri: https://github.com/trunk-io/plugins
repo:
repo:
host: github.com
owner: z-shell
name: playground
lint:
disabled:
- yamllint
enabled:
- [email protected]
- [email protected]
- git-diff-check
- [email protected]
- [email protected]
- [email protected]
- [email protected]
- [email protected]
ignore:
- linters: [shellcheck]
paths:
- ./profiles/NICHOLAS85/bootstrap.sh
runtimes:
enabled:
- [email protected]
- [email protected]
- [email protected]
actions:
enabled:
- trunk-upgrade-available
- trunk-announce
- trunk-check-pre-push
- trunk-fmt-pre-commit
- trunk-cache-prune
- trunk-check-upgrade
- trunk-upgrade
lint:
enabled:
- git-diff-check@SYSTEM
- [email protected]
- [email protected]
- [email protected]
- [email protected]
- [email protected]
- [email protected]
- [email protected]
- trunk-upgrade-available
16 changes: 9 additions & 7 deletions profiles/NICHOLAS85/bootstrap.sh
Original file line number Diff line number Diff line change
@@ -1,10 +1,12 @@
#!/usr/bin/env zsh
# shellcheck disable=SC2250,2312,1091
curl "https://sh.rustup.rs" -sSf | sh -s -- -y
echo "source ${HOME}/.cargo/env" >>"${HOME}"/.zshenv

source "$HOME/.cargo/env"
command curl "https://sh.rustup.rs" -sSf | sh -s -- -y || true

sudo apt update
sudo DEBIAN_FRONTEND=noninteractive apt install --yes tlp lscolors fd-find fzf
cargo install lsd
if [[ -f "${HOME}/.cargo/env" ]]; then
print "source ${HOME}/.cargo/env" >>"${HOME}"/.zshenv
source "${HOME}/.cargo/env"

sudo apt update
sudo DEBIAN_FRONTEND=noninteractive apt install --yes tlp lscolors fd-find fzf
cargo install lsd
fi

0 comments on commit 385bee4

Please sign in to comment.