Skip to content

Add new linting rule on material imports

Benoît Courty requested to merge add-linting-rule into master

Created by: LoicPoullain

Carte Trello : https://trello.com/c/v7zGMgm8/175-dans-le-ci-circleci-ajouter-une-protection-contre-lajout-de-import-x-from-material-core-%C3%A0-la-place-de-import-x-from-material-cor

This PR prevents developers from importing elements from @material-ui/core and @material-ui/icons for performance reasons.

https://blog.webiny.com/create-custom-eslint-rules-in-2-minutes-e3d41cb6a9a0

Capture d’écran 2020-04-15 à 15 46 36

Merge request reports