Skip to content

Commit 1244341

Browse files
committed
new file: .editorconfig
new file: .github/.cspell/project-ignored.txt new file: .github/.cspell/project-words.txt new file: .trunk/configs/.yamllint.yaml
1 parent c556a45 commit 1244341

4,921 files changed

Lines changed: 149551 additions & 178056 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.editorconfig

Lines changed: 60 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,60 @@
1+
# Space or Tabs?
2+
# https://stackoverflow.com/questions/35649847/objective-reasons-for-using-spaces-instead-of-tabs-for-indentation
3+
# https://stackoverflow.com/questions/12093748/how-to-use-tabs-instead-of-spaces-in-a-shell-script
4+
# https://github.com/editorconfig/editorconfig-defaults/blob/master/editorconfig-defaults.json
5+
#
6+
# 1. What happens when I press the Tab key in my text editor?
7+
# 2. What happens when I request my editor to indent one or more lines?
8+
# 3. What happens when I view a file containing U+0009 HORIZONTAL TAB characters?
9+
#
10+
# Answers:
11+
#
12+
# 1. Pressing the Tab key should indent the current line (or selected lines) one additional level.
13+
# 2. As a secondary alternative, I can also tolerate an editor that,
14+
# like Emacs, uses this key for a context-sensitive fix-my-indentation command.
15+
# 3. Indenting one or more lines should follow the reigning convention, if consensus is sufficiently strong; otherwise,
16+
# I greatly prefer 2-space indentation at each level. U+0009 characters should shift subsequent characters to the next tab stop.
17+
#
18+
# Note: VIM users should use alternate marks [[[ and ]]] as the original ones can confuse nested substitutions, e.g.: ${${${VAR}}}
19+
#
20+
# -*- mode: zsh; sh-indentation: 2; indent-tabs-mode: nil; sh-basic-offset: 2; -*-
21+
# vim: ft=zsh sw=2 ts=2 et
22+
23+
root = true
24+
25+
[*]
26+
charset = utf-8
27+
indent_style = space
28+
indent_size = 2
29+
insert_final_newline = true
30+
trim_trailing_whitespace = true
31+
32+
[*.sln]
33+
indent_style = tab
34+
35+
[*.{md,mdx,rst}]
36+
trim_trailing_whitespace = false
37+
38+
[*.{cmd,bat}]
39+
end_of_line = crlf
40+
41+
[*za-*]
42+
end_of_line = lf
43+
44+
[*.{sh,bash,zsh,fish}]
45+
end_of_line = lf
46+
47+
[Makefile]
48+
indent_style = tab
49+
indent_size = 4
50+
51+
[*.{py,rb}]
52+
indent_size = 4
53+
54+
[*.{go,java,scala,groovy,kotlin}]
55+
indent_style = tab
56+
indent_size = 4
57+
58+
[*.{cs,csx,cake,vb,vbx}]
59+
# Default Severity for all .NET Code Style rules below
60+
dotnet_analyzer_diagnostic.severity = warning
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
lazyload

.github/.cspell/project-words.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
pygments

.trunk/configs/.yamllint.yaml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
rules:
2+
quoted-strings:
3+
required: only-when-needed
4+
extra-allowed: ["{|}"]
5+
empty-values:
6+
forbid-in-block-mappings: true
7+
forbid-in-flow-mappings: true
8+
key-duplicates: {}
9+
octal-values:
10+
forbid-implicit-octal: true

.trunk/trunk.yaml

Lines changed: 13 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,23 +1,25 @@
11
version: 0.1
22
cli:
3-
version: 1.4.0
3+
version: 1.6.1
44
plugins:
55
sources:
66
- id: trunk
7-
ref: v0.0.8
7+
ref: v0.0.13
88
uri: https://github.com/trunk-io/plugins
99
lint:
10+
disabled:
11+
- yamllint
1012
enabled:
13+
- actionlint@1.6.23
1114
- git-diff-check
12-
- shfmt@3.5.0
13-
- taplo@0.7.0
15+
- gitleaks@8.16.1
1416
- markdownlint@0.33.0
15-
- svgo@3.0.2
16-
- actionlint@1.6.23
17-
- shellcheck@0.9.0
18-
- gitleaks@8.15.3
19-
- prettier@2.8.3
2017
- oxipng@8.0.0
18+
- prettier@2.8.4
19+
- shellcheck@0.9.0
20+
- shfmt@3.5.0
21+
- svgo@3.0.2
22+
- taplo@0.7.0
2123
ignore:
2224
- linters: [ALL]
2325
paths:
@@ -34,8 +36,9 @@ lint:
3436
- content/readme.md
3537
runtimes:
3638
enabled:
37-
- go@1.18.3
39+
- go@1.19.5
3840
- node@18.12.1
41+
- python@3.10.8
3942
actions:
4043
enabled:
4144
- trunk-announce

config.toml

Lines changed: 15 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -2,25 +2,22 @@ baseURL = "https://github.zshell.dev"
22
languageCode = "en"
33
title = "❮ Z-Shell ❯"
44
theme = "github-style"
5-
googleAnalytics = "G-4R9S46N2LB"
5+
#googleAnalytics = "G-4R9S46N2LB"
66
pygmentsCodeFences = true
77
pygmentsUseClasses = true
88

99
[params]
1010
author = "Z-Shell Community"
1111
description = "A Swiss army knife for Zsh"
12-
# github = "z-shell"
13-
# facebook = ""
14-
# twitter = "zshell_zi"
15-
# linkedin = "ss-o"
16-
# instagram = ""
17-
# tumblr = ""
12+
github = "z-shell"
13+
twitter = "zshell_zi"
1814
email = "team@zshell.dev"
15+
matrix = "#zshell:matrix.org"
1916
url = "https://www.zshell.dev"
2017
keywords = "zsh, github, toolchain"
21-
rss = false
18+
rss = true
2219
lastmod = true
23-
userStatusEmoji = ""
20+
userStatusEmoji = "🧙‍♂️"
2421
favicon = "images/avatar.png"
2522
location = "United Kingdom"
2623
enableGitalk = false
@@ -37,14 +34,15 @@ enableGitalk = false
3734
# pagerDirection = "last"
3835
# createIssueManually = false
3936
# distractionFreeMode = false
40-
[[params.links]]
41-
title = "Z-Shell"
42-
href = "https://github.com/z-shell"
43-
icon = "https://github.com/z-shell.png"
44-
[[params.links]]
45-
title = "digital-clouds"
46-
href = "https://github.com/digital-clouds"
47-
icon = "https://github.com/digital-clouds.png"
37+
38+
#[[params.links]]
39+
#title = "Z-Shell"
40+
#href = "https://github.com/z-shell"
41+
#icon = "images/logo.png"
42+
#[[params.links]]
43+
#title = "digital-clouds"
44+
#href = "https://github.com/digital-clouds"
45+
#icon = "https://github.com/digital-clouds.png"
4846
#[[params.links]]
4947
#title = "ss-o"
5048
#href = "https://github,com/ss-o"

0 commit comments

Comments
 (0)