add husky checks

This commit is contained in:
2020-10-12 15:43:13 +03:00
committed by Stepan Usatiuk
parent ede7976d56
commit 291f78f265
13 changed files with 202 additions and 20 deletions

View File

@@ -3,7 +3,8 @@
"scripts": {
"start": "parcel serve src/index.html",
"build": "parcel build src/index.html",
"lint": "eslint ./src/** --ext .js,.jsx,.ts,.tsx",
"lint": "eslint ./src/** --ext .js,.jsx,.ts,.tsx && tsc --noEmit",
"lint-fix": "eslint ./src/** --ext .js,.jsx,.ts,.tsx --fix",
"test": "jest"
},
"postcss": {
@@ -61,4 +62,4 @@
"@types/react-router-dom": "^5.1.6",
"@types/sass": "^1.16.0"
}
}
}