Skip to content

Commit

Permalink
Enforce exact react-spinners imports
Browse files Browse the repository at this point in the history
  • Loading branch information
fregante authored Feb 8, 2022
1 parent af68e05 commit f514b76
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion index.js
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,11 @@ const config = {
},
{
group: ["lodash/*"],
message: 'You can import "lodash" instead of "lodash/*."',
message: 'You can import "lodash" instead of "lodash/*".',
},
{
group: ["react-spinners"],
message: 'You can import the specific "react-spinners/loader" instead of just "react-spinners".',
},
{
group: ["react-bootstrap/*", "!react-bootstrap/types"],
Expand Down

0 comments on commit f514b76

Please sign in to comment.