feat(vale): add global configuration for Vale

This commit is contained in:
Stefan Imhoff
2022-08-25 18:58:49 +02:00
parent 38dedf03a2
commit a6d7621003
6 changed files with 24 additions and 1 deletions

View File

@@ -21,10 +21,10 @@
~/.pandoc: pandoc
~/.ripgreprc: ripgrep
~/.tmux.conf: tmux.conf
~/.vale.ini: vale.ini
~/.wget: wget
~/.zshrc: zshrc
- shell:
- [git submodule update --init --recursive, Installing submodules]
- [~/.tmux/plugins/tpm/scripts/install_plugins.sh >/dev/null 2>&1, Installing tmux plugins]
- [nvim -u ~/.config/nvim/init.vim +PlugUpgrade +PlugInstall +PlugClean +qall]

6
.gitignore vendored
View File

@@ -1 +1,7 @@
# Neovim
nvim/plugin
# Vale
.vale/proselint
.vale/Readability
.vale/write-good

View File

View File

View File

@@ -31,6 +31,7 @@ null_ls.setup({
diagnostics.markdownlint.with({ extra_args = { "--rules ~MD033" } }),
diagnostics.stylelint,
diagnostics.tsc,
diagnostics.vale,
-- diagnostics.write_good,
-- diagnostics.yamllint,
diagnostics.zsh,

16
vale.ini Normal file
View File

@@ -0,0 +1,16 @@
StylesPath = .dotfiles/.vale
MinAlertLevel = suggestion
Vocab = Base
Packages = Readability, proselint, write-good
[*]
BasedOnStyles = Vale, Readability, proselint, write-good
# Turn off rules
Vale.Terms = NO
write-good.E-Prime = NO
[formats]
njk = html