You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Awesome tool, I just have a small, very low priority issue with it: I use tabs in my package.json – I know, right? npm totally respects my decision, updtr does not, here's a reproducible testcase:
mkdir updtr-test
cd updtr-test
npm init --yes
gives us this package.json:
{"name": "updtr-test","version": "1.0.0","description": "","main": "index.js","scripts": {"test": "echo \"Error: no test specified\" && exit 1"},"keywords": [],"author": "","license": "ISC"}
Now remove the test (so updtr doesn't fail later) and entab:
Awesome tool, I just have a small, very low priority issue with it: I use tabs in my
package.json
– I know, right? npm totally respects my decision, updtr does not, here's a reproducible testcase:mkdir updtr-test cd updtr-test npm init --yes
gives us this package.json:
Now remove the test (so updtr doesn't fail later) and entab:
then
npm i del@2.2.2
, which is an old version. package.json looks like:So tabs all the way. Nice. Now run
updtr
, lo and behold:... we're back to 2 spaces, or as I call it: no indentation at all.
Nothing prettier doesn't solve for me, just a small issue. Great tool tho!
The text was updated successfully, but these errors were encountered: