@channel.io/stylelint-bezier 0.1.0 → 0.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/.turbo/turbo-build.log
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
|
|
1
|
+
9:12:58 AM - Projects in this build:
|
|
2
2
|
* tsconfig.json
|
|
3
3
|
|
|
4
|
-
|
|
4
|
+
9:12:58 AM - Project 'tsconfig.json' is out of date because output file 'dist/index.js' does not exist
|
|
5
5
|
|
|
6
|
-
|
|
6
|
+
9:12:58 AM - Building project '/home/runner/work/bezier-react/bezier-react/packages/stylelint-bezier/tsconfig.json'...
|
|
7
7
|
|
package/CHANGELOG.md
CHANGED
|
@@ -79,6 +79,10 @@ const pluginRule = (primary, secondaryOptions = {}) => {
|
|
|
79
79
|
return;
|
|
80
80
|
}
|
|
81
81
|
const [, tokenName] = matches;
|
|
82
|
+
const hasTemplateLiteral = tokenName.includes('${');
|
|
83
|
+
if (hasTemplateLiteral) {
|
|
84
|
+
return;
|
|
85
|
+
}
|
|
82
86
|
if (ignorePrefix.some((prefix) => tokenName.startsWith(prefix))) {
|
|
83
87
|
return;
|
|
84
88
|
}
|
package/package.json
CHANGED
|
@@ -97,6 +97,12 @@ const pluginRule: Rule<boolean> = (primary, secondaryOptions = {}) => {
|
|
|
97
97
|
|
|
98
98
|
const [, tokenName] = matches
|
|
99
99
|
|
|
100
|
+
const hasTemplateLiteral = tokenName.includes('${')
|
|
101
|
+
|
|
102
|
+
if (hasTemplateLiteral) {
|
|
103
|
+
return
|
|
104
|
+
}
|
|
105
|
+
|
|
100
106
|
if (ignorePrefix.some((prefix: string) => tokenName.startsWith(prefix))) {
|
|
101
107
|
return
|
|
102
108
|
}
|