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
@@ -22,6 +22,9 @@ import noTsFileExtension, {
|
||||
import noIPrefixInterfaces, {
|
||||
RULE_NAME as noIPrefixInterfacesRuleName,
|
||||
} from './rules/noIPrefixInterfaces';
|
||||
import noInterfaceProps, {
|
||||
RULE_NAME as noInterfacePropsRuleName,
|
||||
} from './rules/noInterfacePropsOrState';
|
||||
|
||||
module.exports = {
|
||||
rules: {
|
||||
@@ -30,5 +33,6 @@ module.exports = {
|
||||
[noConsoleErrorWithoutContextRuleName]: noConsoleErrorWithoutContext,
|
||||
[noTsFileExtensionRuleName]: noTsFileExtension,
|
||||
[noIPrefixInterfacesRuleName]: noIPrefixInterfaces,
|
||||
[noInterfacePropsRuleName]: noInterfaceProps,
|
||||
},
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user