Skip to content

Commit

Permalink
sanitizeAxiosError should return another AxiosError so it doesn't bre…
Browse files Browse the repository at this point in the history
…ak axios.isAxiosError()
  • Loading branch information
alexenvoy committed Jun 4, 2024
1 parent cb4cb05 commit 9b609c7
Show file tree
Hide file tree
Showing 6 changed files with 2,935 additions and 1,598 deletions.
2 changes: 2 additions & 0 deletions .eslintrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,8 @@ module.exports = {
'no-void': 'off',
'max-len': ["error", { "code": 150 }],
'consistent-return': 'off',
'object-curly-newline': 'off',
'import/prefer-default-export': 'off',
'@typescript-eslint/no-unsafe-assignment': 'off',
'@typescript-eslint/no-unsafe-return': 'off',
'@typescript-eslint/no-unsafe-call': 'off',
Expand Down
8 changes: 8 additions & 0 deletions .prettierrc.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
{
"printWidth": 120,
"bracketSameLine": false,
"htmlWhitespaceSensitivity": "ignore",
"singleQuote": true,
"jsxSingleQuote": false,
"trailingComma": "all"
}
Loading

0 comments on commit 9b609c7

Please sign in to comment.