]> git.wincent.com - wincent.git/commitdiff
style: fix formatting
authorGreg Hurrell <greg@hurrell.net>
Sun, 6 Jun 2021 16:26:27 +0000 (18:26 +0200)
committerGreg Hurrell <greg@hurrell.net>
Sun, 6 Jun 2021 16:26:27 +0000 (18:26 +0200)
One error fixed, and one config tweak to make sure that Prettier never
looks in these directories.

In practice, "undo" is probably the only one to worry about because it
has files that end with legit-looking extensions; eg:

    %Users%glh%code%wincent%aspects%iterm%README.md

unlike the others, like "view", that has filenames like:

    ~=+code=+wincent=+vendor=+yarn=+lib=+cli.js=

.prettierignore
aspects/dotfiles/index.ts

index 34a90a3e9a0966cea62ce16d853e631e18899de9..5a403ebf58803ef124e52d53545b894487248f53 100644 (file)
@@ -5,7 +5,15 @@
 /aspects/dotfiles/files/.zsh/zsh-history-substring-search
 /aspects/dotfiles/files/.zsh/zsh-syntax-highlighting
 /aspects/vim/files/.config/nvim/pack
+/aspects/vim/files/.config/nvim/backup
+/aspects/vim/files/.config/nvim/swap
+/aspects/vim/files/.config/nvim/undo
+/aspects/vim/files/.config/nvim/view
 /aspects/vim/files/.vim/pack
+/aspects/vim/files/.vim/backup
+/aspects/vim/files/.vim/swap
+/aspects/vim/files/.vim/undo
+/aspects/vim/files/.vim/view
 /fig/types
 /lib
 /python
index 70950c14dc0010915df1d97e89c1fc24adf660df..439bd24deb3d9595e0d5d5f625fc1b0dc6a830ff 100644 (file)
@@ -21,7 +21,7 @@ variables(({hostname, identity}) => {
     gitUserEmail: identity === 'wincent' ? 'greg@hurrell.net' : '',
     gitUserName: identity === 'wincent' ? 'Greg Hurrell' : '',
     gitHubUsername: identity === 'wincent' ? 'wincent' : '',
-  }
+  };
 });
 
 task('check for decrypted files', async () => {