Skip to content

Commit

Permalink
forge-42#13 - Fixes wrongful error parsing
Browse files Browse the repository at this point in the history
  • Loading branch information
AlemTuzlak committed Aug 10, 2023
1 parent dc17af8 commit b346506
Show file tree
Hide file tree
Showing 24 changed files with 34,039 additions and 3,435 deletions.
19 changes: 19 additions & 0 deletions .eslintrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
{
"extends": [
"eslint:recommended",
"plugin:@typescript-eslint/recommended",
"plugin:react/recommended",
"prettier"
],
"ignorePatterns": ["node_modules/", "testing-app"],
"parser": "@typescript-eslint/parser",
"parserOptions": {
"ecmaVersion": "latest",
"sourceType": "module"
},
"plugins": ["@typescript-eslint", "react", "prettier"],
"rules": {
"@typescript-eslint/no-unnecessary-type-constraint": "off",
"@typescript-eslint/no-explicit-any": "off"
}
}
2 changes: 2 additions & 0 deletions .prettierignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
node_modules
/build
3 changes: 3 additions & 0 deletions .prettierrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{

}
4 changes: 4 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -146,6 +146,10 @@ export default function MyForm() {
}
```

### Fetcher usage

You can pass in a fetcher as an optional prop and the useRemixForm will use that fetcher to submit the data and read the errors instead of the default behavior

## Utilities

## getValidatedFormData
Expand Down
Loading

0 comments on commit b346506

Please sign in to comment.