1
0
mirror of https://github.com/SomboChea/ui synced 2026-01-16 08:05:44 +07:00

feat(eslint-config): add order rule in import

* refactor: added eslint-plugin-import

* refactor: disable some rules for muiComponents

* fix: fixed import
This commit is contained in:
Priscila Oliveira
2019-10-07 22:19:18 +02:00
committed by Sergio Hg
parent 950f6defca
commit ae73772a37
84 changed files with 152 additions and 97 deletions

View File

@@ -3,8 +3,6 @@ import { default as MaterialUIButton, ButtonProps } from '@material-ui/core/Butt
type ButtonRef = HTMLElementTagNameMap['button'];
/* eslint-disable verdaccio/jsx-spread */
// eslint-disable-next-line react/display-name
const Button = forwardRef<ButtonRef, ButtonProps>(function Button(props, ref) {
return <MaterialUIButton {...props} ref={ref} />;
});