design-system-silkhaus 3.13.0-beta.lint-rule.1 → 3.13.0-beta.lint-rule.2

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.
@@ -13,7 +13,7 @@ export default {
13
13
  },
14
14
 
15
15
  create(context) {
16
- const DISALLOWED_TOKENS = [
16
+ const RESTRICTED_TOKENS = [
17
17
  'white',
18
18
  'black',
19
19
  'red',
@@ -26,7 +26,7 @@ export default {
26
26
  'mustard',
27
27
  ];
28
28
 
29
- const regex = new RegExp(`\\b(${DISALLOWED_TOKENS.join('|')})\\b`, 'i');
29
+ const regex = new RegExp(`\\b(${RESTRICTED_TOKENS.join('|')})\\b`, 'i');
30
30
 
31
31
  function reportIfTokenUsed(node, value) {
32
32
  const match = regex.exec(value);
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "design-system-silkhaus",
3
3
  "private": false,
4
- "version": "3.13.0-beta.lint-rule.1",
4
+ "version": "3.13.0-beta.lint-rule.2",
5
5
  "description": "Design system for Silkhaus built with Typescript, React and Tailwind",
6
6
  "author": "silkhaus",
7
7
  "license": "MIT",