Explorar el Código

use public rc files

Nate Stemen hace 7 años
padre
commit
adc4c3bdb8
Se han modificado 2 ficheros con 2 adiciones y 21 borrados
  1. 0 19
      services/chat/decaffeinate-simple.sh
  2. 2 2
      services/chat/decaffeinate.sh

+ 0 - 19
services/chat/decaffeinate-simple.sh

@@ -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"

+ 2 - 2
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"