ban interface usage for component props and state
Summary: another eslint rule for flipper codebase Reviewed By: passy Differential Revision: D33917213 fbshipit-source-id: e60b867d359ef5b94a481edf0eda318ecff17eee
This commit is contained in:
committed by
Facebook GitHub Bot
parent
59b11c5f12
commit
f2abbf63db
@@ -146,6 +146,7 @@ module.exports = {
|
||||
'flipper/no-console-error-without-context': [2],
|
||||
'flipper/no-ts-file-extension': 2,
|
||||
'flipper/no-i-prefix-interfaces': 2,
|
||||
'flipper/no-interface-props-or-state': 2,
|
||||
'communist-spelling/communist-spelling': [1, {allow: ['cancelled']}],
|
||||
|
||||
// promise rules, see https://github.com/xjamundx/eslint-plugin-promise for details on each of them
|
||||
|
||||
Reference in New Issue
Block a user