mirror of
https://github.com/overleaf/overleaf.git
synced 2024-11-07 20:31:06 -05:00
decaffeinate and lint individual files
This commit is contained in:
parent
1c8430d207
commit
f5ff8611b4
1 changed files with 16 additions and 0 deletions
|
@ -26,4 +26,20 @@ npx prettier-eslint 'test/acceptance/js/**/*.js' --write
|
||||||
git add .
|
git add .
|
||||||
git commit -m "Prettier: convert test/acceptance decaffeinated files to Prettier format"
|
git commit -m "Prettier: convert test/acceptance decaffeinated files to Prettier format"
|
||||||
|
|
||||||
|
git mv app.coffee app.js
|
||||||
|
git mv Gruntfile.coffe Gruntfile.js
|
||||||
|
git mv config/settings.defaults.coffee config/settings.defaults.js
|
||||||
|
|
||||||
|
git commit -m "Rename individual coffee files to js files"
|
||||||
|
|
||||||
|
decaffeinate app.js
|
||||||
|
decaffeinate Gruntfile.js
|
||||||
|
decaffeinate config/settings.defaults.js
|
||||||
|
|
||||||
|
git commit -m "Decaffeinate: convert individual files to js"
|
||||||
|
|
||||||
|
npx prettier-eslint app.js Gruntfile.js config/settings.defaults.js --write
|
||||||
|
|
||||||
|
git commit -m "Prettier: convert individual decaffeinated files to Prettier format"
|
||||||
|
|
||||||
echo "done"
|
echo "done"
|
Loading…
Reference in a new issue