From adc4c3bdb80c59298ba158fee10229d83e3d7c7e Mon Sep 17 00:00:00 2001 From: Nate Stemen Date: Fri, 21 Dec 2018 13:55:29 -0500 Subject: [PATCH] use public rc files --- services/chat/decaffeinate-simple.sh | 19 ------------------- services/chat/decaffeinate.sh | 4 ++-- 2 files changed, 2 insertions(+), 21 deletions(-) delete mode 100644 services/chat/decaffeinate-simple.sh diff --git a/services/chat/decaffeinate-simple.sh b/services/chat/decaffeinate-simple.sh deleted file mode 100644 index 6fd8a618b9..0000000000 --- a/services/chat/decaffeinate-simple.sh +++ /dev/null @@ -1,19 +0,0 @@ -set -ex - -npx bulk-decaffeinate convert -npx bulk-decaffeinate clean - -git mv app/coffee app/js -git commit -m "Rename app/coffee dir to app/js" - -git mv test/acceptance/coffee test/acceptance/js -git commit -m "Rename test/acceptance/coffee to test/acceptance/js" - -npx prettier-eslint '*.js' --write -npx prettier-eslint 'config/*.js' --write -npx prettier-eslint 'app/js/**/*.js' --write -npx prettier-eslint 'test/acceptance/js/**/*.js' --write -git add . -git commit -m "Prettier: lint javascript files" - -echo "done" \ No newline at end of file diff --git a/services/chat/decaffeinate.sh b/services/chat/decaffeinate.sh index a2958457ab..9a8ec31bce 100755 --- a/services/chat/decaffeinate.sh +++ b/services/chat/decaffeinate.sh @@ -1,7 +1,7 @@ set -ex -curl -o .eslintrc https://raw.githubusercontent.com/sharelatex/web-sharelatex-internal/master/.eslintrc?token=AMHVk43L42-Htd0MSIfjao6vRukW52r4ks5cHA9WwA%3D%3D -curl -o .prettierrc https://raw.githubusercontent.com/sharelatex/web-sharelatex-internal/master/.prettierrc?token=AMHVk45yPk51AJkmy-hYGoHI9gW-kZHvks5cHAu3wA%3D%3D +curl -o .eslintrc https://raw.githubusercontent.com/sharelatex/web-sharelatex/master/.eslintrc +curl -o .prettierrc https://raw.githubusercontent.com/sharelatex/web-sharelatex/master/.prettierrc git add . git commit -m "Decaffeinate: add eslint and prettier rc files"