Update CI & Configs

This commit is contained in:
Sacha Weatherstone
2023-01-19 19:57:11 +10:00
parent ddbb9b501b
commit fb59ff3a6d
10 changed files with 118 additions and 22 deletions
+7
View File
@@ -0,0 +1,7 @@
*out
*logs
*actions
*notifications
plugins
user_trunk.yaml
user.yaml
+10
View File
@@ -0,0 +1,10 @@
# Autoformatter friendly markdownlint config (all formatting rules disabled)
default: true
blank_lines: false
bullet: false
html: false
indentation: false
line_length: false
spaces: false
url: false
whitespace: false
+4
View File
@@ -0,0 +1,4 @@
# Ignore artifacts:
dist
pnpm-lock.yaml
stats.html
+4
View File
@@ -0,0 +1,4 @@
module.exports = {
trailingComma: "none",
plugins: [require("prettier-plugin-tailwindcss")]
};
+14
View File
@@ -0,0 +1,14 @@
module.exports = {
plugins: [
{
name: "preset-default",
params: {
overrides: {
removeViewBox: false, // https://github.com/svg/svgo/issues/1128
sortAttrs: true,
removeOffCanvasPaths: true
}
}
}
]
};
+28
View File
@@ -0,0 +1,28 @@
version: 0.1
cli:
version: 1.3.2
plugins:
sources:
- id: trunk
ref: v0.0.8
uri: https://github.com/trunk-io/plugins
lint:
enabled:
- markdownlint@0.33.0
- prettier@2.8.3
- oxipng@8.0.0
- svgo@3.0.2
- git-diff-check
- actionlint@1.6.22
- gitleaks@8.15.2
runtimes:
enabled:
- go@1.18.3
- node@18.12.1
actions:
disabled:
- trunk-announce
- trunk-check-pre-push
- trunk-fmt-pre-commit
enabled:
- trunk-upgrade-available