Add prettier/husky config

This commit is contained in:
Dmitry Yankowski
2020-02-24 13:38:24 -05:00
parent f8d032d9fc
commit b0f5ab9776
6 changed files with 9947 additions and 0 deletions

5
.huskyrc Normal file
View File

@@ -0,0 +1,5 @@
{
"hooks": {
"pre-commit": "lint-staged"
}
}

5
.lintstaged Normal file
View File

@@ -0,0 +1,5 @@
{
"*.+(html|js|json|ts|tsx|vue)": [
"yarn prettier"
]
}

6
.prettierignore Normal file
View File

@@ -0,0 +1,6 @@
.dependabot
.github
.nuxt
.postwoman
.vscode
node_modules

6
.prettierrc Normal file
View File

@@ -0,0 +1,6 @@
{
"trailingComma": "es5",
"semi": false,
"singleQuote": true,
"printWidth": 100
}

View File

@@ -40,7 +40,10 @@
},
"devDependencies": {
"cypress": "^4.0.2",
"husky": "^4.2.3",
"lint-staged": "^10.0.7",
"node-sass": "^4.13.1",
"prettier": "^1.19.1",
"sass-loader": "^8.0.2",
"start-server-and-test": "^1.10.8"
}

9922
yarn.lock Normal file

File diff suppressed because it is too large Load Diff