1
0
mirror of https://github.com/kremalicious/dotfiles.git synced 2024-10-08 00:33:07 +02:00

add prettierrc

This commit is contained in:
Matthias Kretschmann 2020-11-02 23:31:29 +01:00
parent ced65b6dc6
commit 6a3b65e69f
Signed by: m
GPG Key ID: 606EEEF3C479A91F
4 changed files with 11 additions and 24 deletions

3
.prettierrc Normal file
View File

@ -0,0 +1,3 @@
{
"tabWidth": 2
}

View File

@ -12,4 +12,4 @@ matrix:
fast_finish: true
notifications:
email: false
email: false

View File

@ -1,16 +0,0 @@
#
# Global EditorConfig file
# http://EditorConfig.org
#
[*]
charset = utf-8
indent_style = space
indent_size = 4
[.{json,yml,yaml}]
indent_style = space
indent_size = 2
[{Makefile,Make,make}]
indent_style = tab

14
exports
View File

@ -12,14 +12,14 @@ export LANG="en_US"
# ---------------------------------------------------
PATH_OPENSSL=$(brew --prefix openssl)/bin
PATH_RUBY=$(brew --prefix ruby)/bin
PATH_GEMS=/usr/local/lib/ruby/gems/2.6.0/bin
# PATH_RUBY=$(brew --prefix ruby)/bin
# PATH_GEMS=/usr/local/lib/ruby/gems/2.6.0/bin
PATH_PYTHON=$(brew --prefix python)/libexec/bin
PATH_GO=$(brew --prefix go)/libexec/bin
PATH_RUST=$HOME/.cargo/bin
#PATH_RUST=$HOME/.cargo/bin
export GOPATH=$HOME/.go/
export PATH=$HOME/.bin:/usr/local/bin:$PATH_OPENSSL:$PATH_RUBY:$PATH_GEMS:$PATH_PYTHON:$GOPATH/bin:$PATH_GO:$PATH_RUST:$PATH
export PATH=$HOME/.bin:/usr/local/bin:$PATH_OPENSSL:$PATH_PYTHON:$GOPATH/bin:$PATH_GO:$PATH
# define CDPATHs which are autocompleted from when doing cd
export CDPATH=$CDPATH:~/Code
@ -31,12 +31,12 @@ NODE_GLOBALS+=("node")
NODE_GLOBALS+=("nvm")
load_nvm () {
export NVM_DIR="$HOME/.nvm"
[ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh"
export NVM_DIR="$HOME/.nvm"
[ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh"
}
for cmd in "${NODE_GLOBALS[@]}"; do
eval "${cmd}(){ unset -f ${NODE_GLOBALS}; load_nvm; ${cmd} \$@ }"
eval "${cmd}(){ unset -f ${NODE_GLOBALS}; load_nvm; ${cmd} \$@ }"
done
# pip should only run if there is a virtualenv currently activated