Skip to content

Commit 9549d38

Browse files
authored
Merge pull request #19 from juherr/feat/prettier
feat: add prettier and git hooks
2 parents 4b9dc14 + a2877ae commit 9549d38

File tree

7 files changed

+5788
-1
lines changed

7 files changed

+5788
-1
lines changed

.eslintrc.cjs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ module.exports = {
55
"eslint:recommended",
66
"plugin:@typescript-eslint/recommended",
77
"plugin:react-hooks/recommended",
8+
"prettier",
89
],
910
ignorePatterns: ["dist", ".eslintrc.cjs"],
1011
parser: "@typescript-eslint/parser",

.husky/.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
_

.husky/pre-commit

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
lint-staged

.husky/pre-push

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
# npm test

.prettierrc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
{}

0 commit comments

Comments
 (0)