更漂亮地丑化某些 json 文件

时间:2021-06-17 14:29:40

标签: prettier

我们使用 prettier 来格式化代码,这会插入预提交挂钩。

我希望它这样做,但对于某些 json 文件,我希望它改为缩小 json。我可以在外部执行此操作,但我更愿意使用已插入的内容。

>>> num_int = param.Integer(50000, bounds=(-200, 100000))
>>> type(num_int)

'<class 'param.Integer'>'

0 个答案:

没有答案