Skip to content

Commit

Permalink
Merge pull request #173 from swellstores/fix/types-declaration
Browse files Browse the repository at this point in the history
fix: some types to accept both Snake and Camel case objects
  • Loading branch information
awwit authored Apr 19, 2024
2 parents f164f85 + dc85a38 commit 3cf4e8e
Show file tree
Hide file tree
Showing 74 changed files with 3,394 additions and 1,129 deletions.
Binary file removed .DS_Store
Binary file not shown.
12 changes: 12 additions & 0 deletions .eslintrc.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
"parser": "@babel/eslint-parser",
"extends": [
"eslint:recommended",
"plugin:import/recommended",
"plugin:prettier/recommended"
],
"parserOptions": {
Expand All @@ -13,6 +14,12 @@
"settings": {
"react": {
"version": "detect"
},
"import/parsers": {
"@typescript-eslint/parser": [".ts", ".tsx"]
},
"import/resolver": {
"typescript": {}
}
},
"env": {
Expand All @@ -23,6 +30,11 @@
"no-unused-vars": ["error", { "argsIgnorePattern": "^_" }]
},
"overrides": [
{
"files": ["*.d.ts"],
"parser": "@typescript-eslint/parser",
"extends": ["plugin:@typescript-eslint/recommended"]
},
{
"files": [
"*.test.js",
Expand Down
2 changes: 2 additions & 0 deletions .git-hooks/pre-commit
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
#!/bin/sh
npm run lint && npm test
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,5 @@ node_modules
.env

dist
*.log
*.log
.DS_Store
Loading

0 comments on commit 3cf4e8e

Please sign in to comment.