mirror of
https://github.com/overleaf/overleaf.git
synced 2024-11-21 20:47:08 -05:00
use public rc files
This commit is contained in:
parent
9f65be5771
commit
adc4c3bdb8
2 changed files with 2 additions and 21 deletions
|
@ -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"
|
|
@ -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"
|
||||
|
|
Loading…
Reference in a new issue