Skip to content

Commit

Permalink
[stylelint-plugin] fix: don't lint the "bp-" prefix (#4715)
Browse files Browse the repository at this point in the history
Co-authored-by: Patrick Szmucer <[email protected]>
  • Loading branch information
patrickszmucer and Patrick Szmucer authored May 12, 2021
1 parent b69d808 commit 7c5a857
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/stylelint-plugin/src/rules/no-prefix-literal.ts
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ const messages = stylelint.utils.ruleMessages(ruleName, {
expected: (unfixed: string, fixed: string) => `Use the \`${fixed}\` variable instead of the \`${unfixed}\` literal`,
});

const bannedPrefixes = ["bp", "bp3", "bp4"];
const bannedPrefixes = ["bp3", "bp4"];

interface Options {
disableFix?: boolean;
Expand Down

1 comment on commit 7c5a857

@blueprint-bot
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

[stylelint-plugin] fix: don't lint the "bp-" prefix (#4715)

Previews: documentation | landing | table

Please sign in to comment.