Fix Flipper lints #10
Summary: Grey -> gray. "Cancelled" seems quite common in APIs though, so I disabled that. A few promise cleanups Reviewed By: aigoncharov Differential Revision: D31323610 fbshipit-source-id: c8863d995936f451c24eb408fe5c26677187f089
This commit is contained in:
committed by
Facebook GitHub Bot
parent
fe3eda024b
commit
4aa7439fbf
@@ -104,7 +104,7 @@ module.exports = {
|
||||
'flipper/no-relative-imports-across-packages': [2],
|
||||
'flipper/no-electron-remote-imports': [1],
|
||||
'flipper/no-console-error-without-context': [1],
|
||||
'communist-spelling/communist-spelling': [1],
|
||||
'communist-spelling/communist-spelling': [1, {allow: ['cancelled']}],
|
||||
|
||||
// promise rules, see https://github.com/xjamundx/eslint-plugin-promise for details on each of them
|
||||
'promise/catch-or-return': 'warn',
|
||||
|
||||
Reference in New Issue
Block a user