Skip to content

Commit 580f2a8

Browse files
fix: Add bp6 as a banned prefix in no-prefix-literal stylelint rule (#7486)
Co-authored-by: svc-changelog <[email protected]>
1 parent b6f2c57 commit 580f2a8

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
type: fix
2+
fix:
3+
description: Add bp6 as a banned prefix in no-prefix-literal stylelint rule
4+
links:
5+
- https://github.com/palantir/blueprint/pull/7486

packages/stylelint-plugin/src/rules/no-prefix-literal.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ const messages = stylelint.utils.ruleMessages(ruleName, {
3535
expected: (unfixed: any, fixed: any) => `Use the \`${fixed}\` variable instead of the \`${unfixed}\` literal`,
3636
});
3737

38-
const bannedPrefixes = ["bp3", "bp4", "bp5"];
38+
const bannedPrefixes = ["bp3", "bp4", "bp5", "bp6"];
3939

4040
interface Options {
4141
disableFix?: boolean;

0 commit comments

Comments
 (0)