feat: Add autoformat and lint for ts/tsx files (#26453)
Co-authored-by: Michael Telatynski <7t3chguy@gmail.com>
This commit is contained in:
parent
c9aa0ceb00
commit
03a6b59eb5
4 changed files with 266 additions and 5 deletions
7
.lintstagedrc
Normal file
7
.lintstagedrc
Normal file
|
@ -0,0 +1,7 @@
|
|||
{
|
||||
"*": "prettier --write",
|
||||
"src/**/*.(ts|tsx)": ["eslint --fix"],
|
||||
"scripts/**/*.(ts|tsx)": ["eslint --fix"],
|
||||
"module_system/**/*.(ts|tsx)": ["eslint --fix --config .eslintrc-module_system.js module_system"],
|
||||
"*.pcss": ["stylelint --fix"]
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue