Skip to content

Commit

Permalink
Merge pull request #6 from yifanwww/feat/result-async
Browse files Browse the repository at this point in the history
feat: add asynchronous Result
  • Loading branch information
yifanwww committed Jun 8, 2024
2 parents cd29774 + 9308da4 commit bae6f47
Show file tree
Hide file tree
Showing 15 changed files with 3,524 additions and 422 deletions.
2 changes: 1 addition & 1 deletion .eslintrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ const naming = [

{ selector: 'enumMember', format: ['UPPER_CASE'], leadingUnderscore: 'forbid' },

{ selector: 'function', format: null, filter: { regex: '^(Ok|Err)$', match: true } },
{ selector: 'function', format: null, filter: { regex: '^(Ok|OkAsync|Err|ErrAsync)$', match: true } },
{ selector: 'function', format: ['camelCase'], leadingUnderscore: 'allow' },

{ selector: 'method', modifiers: ['static'], format: null, filter: { regex: '^(Ok|Err)$', match: true } },
Expand Down
Loading

0 comments on commit bae6f47

Please sign in to comment.