提交 598cce87 编写于 作者: J JJ Kasper 提交者: Joe Haddad

Don't run standard for tsx files in husky to match lint-fix (#7463)

* Don't run standard for tsx files in husky to
match lint-fix

* Apply suggestions from code review
Co-Authored-By: NJoe Haddad <timer150@gmail.com>
上级 ec385e57
......@@ -37,7 +37,11 @@
"standard --fix",
"git add"
],
"*.{ts,tsx}": [
"*.tsx": [
"prettier --write",
"git add"
],
"*.ts": [
"prettier --write",
"standard --fix --parser typescript-eslint-parser --plugin typescript",
"git add"
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册