[英]How to ignore specific rule(s) with prettier?
Is there a way to not format
write
or check
specific rules with prettier?有没有办法不用更漂亮的
format
write
或check
特定规则?
For example I don't care if there is semicolon or not in my code, I want to check for other rules than that.例如,我不在乎我的代码中是否有分号,我想检查除此之外的其他规则。
"prettier": {
"useTabs": true,
"tabWidth": 4,
}
正如其中一位贡献者所回答的那样, Prettier 没有规则,也永远不会有
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.