From 54b954a94caaa16d61a8ffabe993b88ebdf4f575 Mon Sep 17 00:00:00 2001 From: Patrick Kollitsch Date: Sun, 14 Jan 2024 12:46:17 +0700 Subject: [PATCH] chore(config): vale reconfiguration --- .github/vale/.vale.ini | 47 ------------------------------- .github/vale/Vocab/dnb/accept.txt | 4 --- .github/vale/Vocab/dnb/reject.txt | 0 content/uses/index.md | 6 ++-- kollitsch.dev.code-workspace | 5 +++- package.json | 3 +- 6 files changed, 9 insertions(+), 56 deletions(-) delete mode 100644 .github/vale/.vale.ini delete mode 100644 .github/vale/Vocab/dnb/accept.txt delete mode 100644 .github/vale/Vocab/dnb/reject.txt diff --git a/.github/vale/.vale.ini b/.github/vale/.vale.ini deleted file mode 100644 index 8f8ad4ceb..000000000 --- a/.github/vale/.vale.ini +++ /dev/null @@ -1,47 +0,0 @@ -StylesPath = . -MinAlertLevel = warning # suggestion, warning, error -Vocab = dnb -Packages = Microsoft, Google, Hugo, alex, proselint, Readability, write-good - -# Ignoring scopes -IgnoredScopes = code, tt -SkippedScopes = script, style, pre -IgnoredClasses = highlight - -[formats] -mdx = md - -[*.{md,txt}] -BasedOnStyles = Vale, Microsoft, Google, alex, proselint, Readability, write-good - -# rules from Vale -Vale.Spelling = warning -# rules from Microsoft -Microsoft.Avoid = NO -Microsoft.FirstPerson = NO -Microsoft.We = NO -Microsoft.Contractions = NO -Microsoft.Quotes = NO -Microsoft.RangeFormat = NO -# rules from Google -Google.FirstPerson = NO -Google.Parens = NO -Google.Passive = NO -Google.We = NO -Google.Quotes = NO -Google.Exclamation = NO -Google.Ordinal = NO -Google.OptionalPlurals = NO -Google.Units = NO -# rules from alex -alex.ProfanityUnlikely = NO -alex.Condescending = NO -# rules from proselint -proselint.Cliches = NO -proselint.Very = NO -proselint.Skunked = NO -# rules from write-good -write-good.E-Prime = NO -write-good.Passive = NO -write-good.ThereIs = NO -write-good.So = NO diff --git a/.github/vale/Vocab/dnb/accept.txt b/.github/vale/Vocab/dnb/accept.txt deleted file mode 100644 index a7ab92f16..000000000 --- a/.github/vale/Vocab/dnb/accept.txt +++ /dev/null @@ -1,4 +0,0 @@ -davidsneighbour -David's Neighbour -(kK)ollitsch -VSCode diff --git a/.github/vale/Vocab/dnb/reject.txt b/.github/vale/Vocab/dnb/reject.txt deleted file mode 100644 index e69de29bb..000000000 diff --git a/content/uses/index.md b/content/uses/index.md index 3137011a4..00fa1edc3 100644 --- a/content/uses/index.md +++ b/content/uses/index.md @@ -19,17 +19,17 @@ theme: The following is a collection of tools helping me with my digital and work life. My main focus lies in applications that are open source and usable across operating systems. This is a collection in progress, so check back or subscribe to updates to know when there is something new to know about. -## Operating System +## Operating system [Ubuntu](https://ubuntu.com/) is my main operating system. I use it on my desktop, and it's running on a server I am using. The last time I used Windows on my desktop was in 2004. ## Productivity -[Todoist](https://todoist.com/) is my main task manager. I use it to manage my daily tasks, and I am using it to manage my projects. I am using it on the phone, via the Linux app, and via webinterface. +[Todoist](https://todoist.com/) is my main task manager. I use it to manage my tasks, and I am using it to manage my projects. I am using it on the phone, via the Linux app, and via web interface. I stay up to date with news and development by using [Feedly](https://feedly.com/) as online feed reader. -## Privacy and Security +## Privacy and security My password manager of choice is [Enpass](https://www.enpass.io/) and I am using it on all my devices. diff --git a/kollitsch.dev.code-workspace b/kollitsch.dev.code-workspace index 8cfadcf53..ea12f68b2 100644 --- a/kollitsch.dev.code-workspace +++ b/kollitsch.dev.code-workspace @@ -44,7 +44,10 @@ "editorGroup.border": "#ff6433", "sash.hoverBorder": "#ff6433" }, - "peacock.color": "#ff3d00" + "peacock.color": "#ff3d00", + "vale.doNotShowWarningForFileToBeSavedBeforeLinting": true, + "vale.enableSpellcheck": true, + "vale.valeCLI.config": "/home/patrick/github.com/davidsneighbour/kollitsch.dev/.github/vale/vale.ini" }, "extensions": { "recommendations": [ diff --git a/package.json b/package.json index 23a06a95d..2e600bc60 100644 --- a/package.json +++ b/package.json @@ -84,7 +84,8 @@ "lint:lockfiles": "lockfile-lint --path package-lock.json --type=npm --validate-https --allowed-hosts=npm --empty-hostname=false --validate-package-names --validate-checksum --validate-integrity", "lint:remark": "remark content/**/*.md", "lint:remark2": "remark .", - "lint:vale": "vale --config='.github/vale/.vale.ini' --no-exit content", + "lint:vale": "vale --config='.github/vale/vale.ini' --no-exit --output='dnb.tmpl' content", + "lint:vale:update": "cd .github/vale && vale sync && cd ../..", "new": "node bin/hugo/content.mjs", "prettier": "prettier 'assets/**/*.ts'", "prettier:fix": "prettier --write 'assets/**/*.ts'",