mirror of
https://github.com/kogakure/dotfiles.git
synced 2026-02-03 20:25:30 +00:00
feat(vale): add global configuration for Vale
This commit is contained in:
@@ -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
6
.gitignore
vendored
@@ -1 +1,7 @@
|
||||
# Neovim
|
||||
nvim/plugin
|
||||
|
||||
# Vale
|
||||
.vale/proselint
|
||||
.vale/Readability
|
||||
.vale/write-good
|
||||
|
||||
0
.vale/Vocab/Base/accept.txt
Normal file
0
.vale/Vocab/Base/accept.txt
Normal file
0
.vale/Vocab/Base/reject.txt
Normal file
0
.vale/Vocab/Base/reject.txt
Normal 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
16
vale.ini
Normal 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
|
||||
Reference in New Issue
Block a user