This website works better with JavaScript.
Home
Explore
Help
Sign In
closed-social
/
mastodon
Watch
3
Star
0
Fork
2
Code
Issues
5
Pull Requests
0
Projects
0
Releases
3
Wiki
Activity
Browse Source
Enable promise/catch-or-return allowFinally (
#14289
)
master
abcang
4 years ago
committed by
GitHub
parent
da3978c48e
commit
bb9d4e2776
No known key found for this signature in database
GPG Key ID:
4AEE18F83AFDEB23
1 changed files
with
6 additions
and
1 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+6
-1
.eslintrc.js
+ 6
- 1
.eslintrc.js
View File
@ -199,6 +199,11 @@ module.exports = {
'import/no-unresolved'
:
'error'
,
'import/no-webpack-loader-syntax'
:
'error'
,
'promise/catch-or-return'
:
'error'
,
'promise/catch-or-return'
:
[
'error'
,
{
allowFinally
:
true
,
}
,
]
,
}
,
}
;
Write
Preview
Loading…
Cancel
Save