@allxsmith/eslint-plugin-bestax 1.3.4 → 1.3.6
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.
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"metadata.d.ts","sourceRoot":"","sources":["../../src/generated/metadata.ts"],"names":[],"mappings":"AAIA,uEAAuE;AACvE,MAAM,WAAW,WAAW;IAC1B,4EAA4E;IAC5E,QAAQ,CAAC,WAAW,EAAE,MAAM,GAAG,IAAI,CAAC;IACpC,uEAAuE;IACvE,QAAQ,CAAC,IAAI,EAAE,MAAM,GAAG,IAAI,CAAC;CAC9B;AAED;;;GAGG;AACH,eAAO,MAAM,gBAAgB,EAAE,QAAQ,CACrC,MAAM,CAAC,MAAM,EAAE,QAAQ,CAAC,MAAM,CAAC,MAAM,EAAE,WAAW,CAAC,CAAC,CAAC,
|
|
1
|
+
{"version":3,"file":"metadata.d.ts","sourceRoot":"","sources":["../../src/generated/metadata.ts"],"names":[],"mappings":"AAIA,uEAAuE;AACvE,MAAM,WAAW,WAAW;IAC1B,4EAA4E;IAC5E,QAAQ,CAAC,WAAW,EAAE,MAAM,GAAG,IAAI,CAAC;IACpC,uEAAuE;IACvE,QAAQ,CAAC,IAAI,EAAE,MAAM,GAAG,IAAI,CAAC;CAC9B;AAED;;;GAGG;AACH,eAAO,MAAM,gBAAgB,EAAE,QAAQ,CACrC,MAAM,CAAC,MAAM,EAAE,QAAQ,CAAC,MAAM,CAAC,MAAM,EAAE,WAAW,CAAC,CAAC,CAAC,CA+OtD,CAAC;AAEF;;;;;;;;;;;GAWG;AACH,eAAO,MAAM,yBAAyB,EAAE,SAAS,MAAM,EActD,CAAC;AAEF;;;;;GAKG;AACH,eAAO,MAAM,uBAAuB,EAAE,SAAS,MAAM,EAKpD,CAAC;AAEF,mDAAmD;AACnD,MAAM,WAAW,mBAAmB;IAClC,6DAA6D;IAC7D,QAAQ,CAAC,SAAS,EAAE,MAAM,CAAC;IAC3B;;;OAGG;IACH,QAAQ,CAAC,QAAQ,EAAE,OAAO,CAAC;IAC3B,0EAA0E;IAC1E,QAAQ,CAAC,GAAG,CAAC,EAAE,MAAM,CAAC;IACtB;;;;;OAKG;IACH,QAAQ,CAAC,IAAI,CAAC,EAAE,SAAS,MAAM,EAAE,GAAG,KAAK,CAAC;IAC1C;;;;;;OAMG;IACH,QAAQ,CAAC,MAAM,CAAC,EAAE,QAAQ,CAAC,MAAM,CAAC,MAAM,EAAE,UAAU,CAAC,CAAC,CAAC;IACvD;;;OAGG;IACH,QAAQ,CAAC,SAAS,CAAC,EAAE,MAAM,CAAC;CAC7B;AAED,qEAAqE;AACrE,MAAM,WAAW,UAAU;IACzB,2DAA2D;IAC3D,QAAQ,CAAC,GAAG,EAAE,MAAM,GAAG,IAAI,CAAC;IAC5B,6CAA6C;IAC7C,QAAQ,CAAC,EAAE,CAAC,EAAE,SAAS,MAAM,EAAE,CAAC;CACjC;AAED;;;;;GAKG;AACH,eAAO,MAAM,uBAAuB,EAAE,WAAW,CAAC,MAAM,EAAE,mBAAmB,CA8hBzE,CAAC"}
|
|
@@ -52,7 +52,23 @@ export const DEPRECATED_PROPS = {
|
|
|
52
52
|
note: 'Use `isFullwidth` instead — `isFullwidth` wins if both are set.',
|
|
53
53
|
},
|
|
54
54
|
},
|
|
55
|
+
Cell: {
|
|
56
|
+
color: {
|
|
57
|
+
replacement: null,
|
|
58
|
+
note: 'The prop renders nothing and will be removed in the next major version. Use `textColor` / `bgColor` instead.',
|
|
59
|
+
},
|
|
60
|
+
},
|
|
61
|
+
Column: {
|
|
62
|
+
color: {
|
|
63
|
+
replacement: null,
|
|
64
|
+
note: 'The prop renders nothing and will be removed in the next major version. Use `textColor` / `bgColor` instead.',
|
|
65
|
+
},
|
|
66
|
+
},
|
|
55
67
|
Columns: {
|
|
68
|
+
color: {
|
|
69
|
+
replacement: null,
|
|
70
|
+
note: 'The prop renders nothing and will be removed in the next major version. Use `textColor` / `bgColor` instead.',
|
|
71
|
+
},
|
|
56
72
|
gapSize: {
|
|
57
73
|
replacement: 'gap',
|
|
58
74
|
note: 'Use `gap` instead — `gap` wins if both are set.',
|
|
@@ -78,18 +94,42 @@ export const DEPRECATED_PROPS = {
|
|
|
78
94
|
note: 'Use `gapWidescreen` instead — `gapWidescreen` wins if both are set.',
|
|
79
95
|
},
|
|
80
96
|
},
|
|
97
|
+
'Columns.Column': {
|
|
98
|
+
color: {
|
|
99
|
+
replacement: null,
|
|
100
|
+
note: 'The prop renders nothing and will be removed in the next major version. Use `textColor` / `bgColor` instead.',
|
|
101
|
+
},
|
|
102
|
+
},
|
|
81
103
|
CopyButton: {
|
|
82
104
|
isFullWidth: {
|
|
83
105
|
replacement: 'isFullwidth',
|
|
84
106
|
note: 'Use `isFullwidth` instead — `isFullwidth` wins if both are set.',
|
|
85
107
|
},
|
|
86
108
|
},
|
|
109
|
+
Field: {
|
|
110
|
+
color: {
|
|
111
|
+
replacement: null,
|
|
112
|
+
note: 'The prop renders nothing and will be removed in the next major version. Use `textColor` / `bgColor` instead.',
|
|
113
|
+
},
|
|
114
|
+
},
|
|
87
115
|
File: {
|
|
88
116
|
isFullWidth: {
|
|
89
117
|
replacement: 'isFullwidth',
|
|
90
118
|
note: 'Use `isFullwidth` instead — `isFullwidth` wins if both are set.',
|
|
91
119
|
},
|
|
92
120
|
},
|
|
121
|
+
Grid: {
|
|
122
|
+
color: {
|
|
123
|
+
replacement: null,
|
|
124
|
+
note: 'The prop renders nothing and will be removed in the next major version. Use `textColor` / `bgColor` instead.',
|
|
125
|
+
},
|
|
126
|
+
},
|
|
127
|
+
'Grid.Cell': {
|
|
128
|
+
color: {
|
|
129
|
+
replacement: null,
|
|
130
|
+
note: 'The prop renders nothing and will be removed in the next major version. Use `textColor` / `bgColor` instead.',
|
|
131
|
+
},
|
|
132
|
+
},
|
|
93
133
|
Icon: {
|
|
94
134
|
icon: { replacement: 'name', note: 'Use `name` instead.' },
|
|
95
135
|
libraryFeatures: {
|
|
@@ -528,7 +568,15 @@ export const BULMA_COMPONENT_CLASSES = new Map([
|
|
|
528
568
|
'button',
|
|
529
569
|
{ component: 'Button', converts: true, tag: 'button', tags: 'any' },
|
|
530
570
|
],
|
|
531
|
-
[
|
|
571
|
+
[
|
|
572
|
+
'tag',
|
|
573
|
+
{
|
|
574
|
+
component: 'Tag',
|
|
575
|
+
converts: true,
|
|
576
|
+
tag: 'span',
|
|
577
|
+
tags: ['span', 'a', 'button'],
|
|
578
|
+
},
|
|
579
|
+
],
|
|
532
580
|
[
|
|
533
581
|
'delete',
|
|
534
582
|
{ component: 'Delete', converts: true, tag: 'button', tags: ['button'] },
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@allxsmith/eslint-plugin-bestax",
|
|
3
|
-
"version": "1.3.
|
|
3
|
+
"version": "1.3.6",
|
|
4
4
|
"description": "ESLint rules for @allxsmith/bestax-bulma — catches helper-prop values the library silently drops, deprecated props, and the color-as-surface mistake",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "dist/index.js",
|
|
@@ -41,7 +41,7 @@
|
|
|
41
41
|
"url": "https://github.com/allxsmith/bestax/issues"
|
|
42
42
|
},
|
|
43
43
|
"dependencies": {
|
|
44
|
-
"@allxsmith/bestax-bulma": "^5.
|
|
44
|
+
"@allxsmith/bestax-bulma": "^5.78.7"
|
|
45
45
|
},
|
|
46
46
|
"peerDependencies": {
|
|
47
47
|
"eslint": "^10.0.0"
|