@lark-apaas/fullstack-presets 1.0.13 → 1.0.14

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.
@@ -132,7 +132,7 @@ exports.default = {
132
132
  },
133
133
  // 禁止使用 text-accent
134
134
  {
135
- selector: 'JSXAttribute[name.name="className"][value.value=/text-accent/]',
135
+ selector: 'JSXAttribute[name.name="className"][value.value=/(^|\\s)text-accent(\\s|$)/]',
136
136
  message: 'Classname "text-accent" would cause visibility issues. Consider using proper semantic color tokens from `client/src/tailwind-theme.css`',
137
137
  },
138
138
  ],
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lark-apaas/fullstack-presets",
3
- "version": "1.0.13",
3
+ "version": "1.0.14",
4
4
  "files": [
5
5
  "lib"
6
6
  ],