Linting
This commit is contained in:
12
.lintstagedrc
Normal file
12
.lintstagedrc
Normal file
@@ -0,0 +1,12 @@
|
||||
{
|
||||
"(!cypress)/**/*.+(ts|tsx)": [
|
||||
"tsc-files --noEmit"
|
||||
],
|
||||
"**/*.{js,jsx,ts,tsx,json}": [
|
||||
"prettier --write --loglevel warn",
|
||||
"eslint --fix"
|
||||
],
|
||||
"**/*.{css,scss,less}": [
|
||||
"stylelint --fix"
|
||||
]
|
||||
}
|
||||
Reference in New Issue
Block a user