Skip to content

Commit

Permalink
test precommit
Browse files Browse the repository at this point in the history
  • Loading branch information
dweinholz committed Feb 11, 2022
1 parent 40f3f6b commit 6b99e25
Show file tree
Hide file tree
Showing 4 changed files with 47 additions and 11 deletions.
5 changes: 5 additions & 0 deletions .prettierignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
node_modules
build
dist
res
coverage
11 changes: 11 additions & 0 deletions .prettierrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
{
"printWidth": 120,
"tabWidth": 2,
"proseWrap": "preserve",
"semi": false,
"singleQuote": true,
"useTabs": false,
"tabWidth": 2,
"arrowParens": "avoid",
"trailingComma": "es5"
}
19 changes: 19 additions & 0 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

23 changes: 12 additions & 11 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -123,6 +123,7 @@
"lint-staged": "^12.3.3",
"ngx-spec": "2.1.5",
"npm-run-all": "4.1.5",
"prettier": "^2.5.1",
"raw-loader": "4.0.2",
"sass-loader": "12.4.0",
"script-loader": "0.7.2",
Expand All @@ -134,15 +135,15 @@
"url-loader": "4.1.1",
"webpack-cli": "4.9.2"
},
"lint-staged": {
"*.{js,jsx,ts}": [
"prettier --write",
"eslint --fix"
],
"*.{html,css,less,ejs}": [
"prettier --write"
],
"*.js": "eslint --cache --fix",
"*.{js,css,md}": "prettier --write"
}
"lint-staged": {
"*.{js,jsx,ts}": [
"prettier --write",
"eslint --fix"
],
"*.{html,css,less,ejs}": [
"prettier --write"
],
"*.js": "eslint --cache --fix",
"*.{js,css,md}": "prettier --write"
}
}

0 comments on commit 6b99e25

Please sign in to comment.