eslint-plugin-web-components-doctor 0.3.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.
Files changed (55) hide show
  1. package/LICENSE +191 -0
  2. package/README.md +309 -0
  3. package/dist/adapters/jsx-adapter.d.ts +20 -0
  4. package/dist/adapters/jsx-adapter.d.ts.map +1 -0
  5. package/dist/adapters/jsx-adapter.js +150 -0
  6. package/dist/adapters/jsx-adapter.js.map +1 -0
  7. package/dist/adapters/lit-adapter.d.ts +19 -0
  8. package/dist/adapters/lit-adapter.d.ts.map +1 -0
  9. package/dist/adapters/lit-adapter.js +145 -0
  10. package/dist/adapters/lit-adapter.js.map +1 -0
  11. package/dist/adapters/utils.d.ts +36 -0
  12. package/dist/adapters/utils.d.ts.map +1 -0
  13. package/dist/adapters/utils.js +58 -0
  14. package/dist/adapters/utils.js.map +1 -0
  15. package/dist/core/rule-factory.d.ts +44 -0
  16. package/dist/core/rule-factory.d.ts.map +1 -0
  17. package/dist/core/rule-factory.js +443 -0
  18. package/dist/core/rule-factory.js.map +1 -0
  19. package/dist/core/types.d.ts +103 -0
  20. package/dist/core/types.d.ts.map +1 -0
  21. package/dist/core/types.js +13 -0
  22. package/dist/core/types.js.map +1 -0
  23. package/dist/descriptors/components.d.ts +21 -0
  24. package/dist/descriptors/components.d.ts.map +1 -0
  25. package/dist/descriptors/components.js +249 -0
  26. package/dist/descriptors/components.js.map +1 -0
  27. package/dist/index.d.ts +39 -0
  28. package/dist/index.d.ts.map +1 -0
  29. package/dist/index.js +77 -0
  30. package/dist/index.js.map +1 -0
  31. package/dist/rules/accessible-component.d.ts +13 -0
  32. package/dist/rules/accessible-component.d.ts.map +1 -0
  33. package/dist/rules/accessible-component.js +15 -0
  34. package/dist/rules/accessible-component.js.map +1 -0
  35. package/dist/rules/no-deprecated.d.ts +13 -0
  36. package/dist/rules/no-deprecated.d.ts.map +1 -0
  37. package/dist/rules/no-deprecated.js +15 -0
  38. package/dist/rules/no-deprecated.js.map +1 -0
  39. package/dist/rules/required-attributes.d.ts +13 -0
  40. package/dist/rules/required-attributes.d.ts.map +1 -0
  41. package/dist/rules/required-attributes.js +15 -0
  42. package/dist/rules/required-attributes.js.map +1 -0
  43. package/dist/rules/valid-attribute-values.d.ts +13 -0
  44. package/dist/rules/valid-attribute-values.d.ts.map +1 -0
  45. package/dist/rules/valid-attribute-values.js +15 -0
  46. package/dist/rules/valid-attribute-values.js.map +1 -0
  47. package/dist/rules/valid-slot-children.d.ts +13 -0
  48. package/dist/rules/valid-slot-children.d.ts.map +1 -0
  49. package/dist/rules/valid-slot-children.js +15 -0
  50. package/dist/rules/valid-slot-children.js.map +1 -0
  51. package/dist/rules/valid-slot-names.d.ts +13 -0
  52. package/dist/rules/valid-slot-names.d.ts.map +1 -0
  53. package/dist/rules/valid-slot-names.js +15 -0
  54. package/dist/rules/valid-slot-names.js.map +1 -0
  55. package/package.json +64 -0
@@ -0,0 +1,249 @@
1
+ /**
2
+ * Copyright 2026 Adobe. All rights reserved.
3
+ * This file is licensed to you under the Apache License, Version 2.0 (the "License");
4
+ * you may not use this file except in compliance with the License. You may obtain a copy
5
+ * of the License at http://www.apache.org/licenses/LICENSE-2.0
6
+ *
7
+ * Unless required by applicable law or agreed to in writing, software distributed under
8
+ * the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS
9
+ * OF ANY KIND, either express or implied. See the License for the specific language
10
+ * governing permissions and limitations under the License.
11
+ */
12
+ /**
13
+ * Component descriptors encoding accessibility requirements, deprecations,
14
+ * required attributes, and valid values for Spectrum Web Components.
15
+ *
16
+ * To add a new component: add an entry keyed by its tag name.
17
+ * No new rule code is needed — the rule factory picks it up automatically.
18
+ */
19
+ export const componentDescriptors = {
20
+ 'sp-action-menu': {
21
+ tagName: 'sp-action-menu',
22
+ accessibility: {
23
+ requireOneOf: ['label', 'aria-label', 'aria-labelledby'],
24
+ },
25
+ slots: [
26
+ {
27
+ name: '',
28
+ acceptedChildren: [
29
+ 'sp-menu-item',
30
+ 'sp-menu-group',
31
+ 'sp-menu-divider',
32
+ ],
33
+ },
34
+ { name: 'icon', acceptedChildren: ['sp-icon'] },
35
+ { name: 'label' },
36
+ { name: 'tooltip', acceptedChildren: ['sp-tooltip'] },
37
+ ],
38
+ },
39
+ 'sp-avatar': {
40
+ tagName: 'sp-avatar',
41
+ accessibility: {
42
+ requireOneOf: ['label', 'is-decorative'],
43
+ conditionalRules: [
44
+ {
45
+ when: { hasAttributes: ['is-decorative', 'href'] },
46
+ requireOneOf: ['label'],
47
+ message: '<sp-avatar> with `is-decorative` and `href` requires a `label` attribute for the link to be accessible.',
48
+ },
49
+ ],
50
+ },
51
+ },
52
+ 'sp-clear-button': {
53
+ tagName: 'sp-clear-button',
54
+ accessibility: {
55
+ requireOneOf: ['label'],
56
+ },
57
+ },
58
+ 'sp-dialog-wrapper': {
59
+ tagName: 'sp-dialog-wrapper',
60
+ accessibility: {
61
+ requireOneOf: ['headline'],
62
+ },
63
+ slots: [
64
+ { name: '' },
65
+ { name: 'hero' },
66
+ { name: 'heading' },
67
+ { name: 'button', acceptedChildren: ['sp-button'] },
68
+ ],
69
+ },
70
+ 'sp-picker': {
71
+ tagName: 'sp-picker',
72
+ accessibility: {
73
+ requireOneOf: ['label', 'aria-label', 'aria-labelledby'],
74
+ },
75
+ slots: [
76
+ {
77
+ name: '',
78
+ acceptedChildren: ['sp-menu-item', 'sp-menu-group', 'sp-menu-divider'],
79
+ },
80
+ { name: 'label' },
81
+ { name: 'tooltip', acceptedChildren: ['sp-tooltip'] },
82
+ { name: 'description' },
83
+ ],
84
+ },
85
+ 'sp-progress-bar': {
86
+ tagName: 'sp-progress-bar',
87
+ accessibility: {
88
+ requireOneOf: ['label', 'aria-label', 'aria-labelledby'],
89
+ },
90
+ },
91
+ 'sp-progress-circle': {
92
+ tagName: 'sp-progress-circle',
93
+ accessibility: {
94
+ requireOneOf: ['label', 'aria-label', 'aria-labelledby'],
95
+ },
96
+ },
97
+ 'sp-tabs': {
98
+ tagName: 'sp-tabs',
99
+ accessibility: {
100
+ requireOneOf: ['accessible-label', 'aria-label', 'aria-labelledby'],
101
+ },
102
+ validAttributeValues: {
103
+ direction: ['horizontal', 'vertical'],
104
+ density: ['compact', 'regular'],
105
+ },
106
+ slots: [
107
+ { name: '', acceptedChildren: ['sp-tab', 'sp-tab-panel'] },
108
+ ],
109
+ },
110
+ 'sp-theme': {
111
+ tagName: 'sp-theme',
112
+ requiredAttributes: ['color', 'scale', 'system'],
113
+ validAttributeValues: {
114
+ color: ['light', 'dark'],
115
+ scale: ['medium', 'large'],
116
+ system: ['spectrum', 'express'],
117
+ },
118
+ },
119
+ 'overlay-trigger': {
120
+ tagName: 'overlay-trigger',
121
+ requiredAttributes: ['triggered-by'],
122
+ slots: [
123
+ { name: '', required: true },
124
+ { name: 'click-content' },
125
+ { name: 'hover-content' },
126
+ { name: 'longpress-content' },
127
+ ],
128
+ },
129
+ 'sp-button': {
130
+ tagName: 'sp-button',
131
+ slots: [
132
+ { name: '' },
133
+ { name: 'icon', acceptedChildren: ['sp-icon'] },
134
+ ],
135
+ deprecations: {
136
+ attributes: [
137
+ {
138
+ attribute: 'variant',
139
+ deprecatedValues: [
140
+ {
141
+ value: 'cta',
142
+ message: 'The "cta" variant on <sp-button> is deprecated. Use variant="accent" instead.',
143
+ replacement: 'accent',
144
+ },
145
+ {
146
+ value: 'overBackground',
147
+ message: 'The "overBackground" variant on <sp-button> is deprecated. Use static-color="white" with treatment="outline" instead.',
148
+ },
149
+ {
150
+ value: 'white',
151
+ message: 'The "white" variant on <sp-button> is deprecated. Use static-color="white" instead.',
152
+ },
153
+ {
154
+ value: 'black',
155
+ message: 'The "black" variant on <sp-button> is deprecated. Use static-color="black" instead.',
156
+ },
157
+ ],
158
+ },
159
+ {
160
+ attribute: 'href',
161
+ message: 'The "href" attribute on <sp-button> is deprecated. Use a native <a> element with Spectrum global element styling instead.',
162
+ },
163
+ ],
164
+ },
165
+ validAttributeValues: {
166
+ variant: ['accent', 'primary', 'secondary', 'negative'],
167
+ size: ['s', 'm', 'l', 'xl'],
168
+ treatment: ['fill', 'outline'],
169
+ },
170
+ },
171
+ 'sp-slider': {
172
+ tagName: 'sp-slider',
173
+ deprecations: {
174
+ warnOnTextContent: {
175
+ message: 'The default slot for text label in <sp-slider> has been deprecated. Use the "label" attribute instead.',
176
+ },
177
+ },
178
+ },
179
+ 'sp-overlay': {
180
+ tagName: 'sp-overlay',
181
+ deprecations: {
182
+ attributes: [
183
+ {
184
+ attribute: 'allow-outside-click',
185
+ message: 'The "allow-outside-click" attribute on <sp-overlay> is deprecated and not recommended for accessibility reasons.',
186
+ },
187
+ ],
188
+ },
189
+ },
190
+ 'sp-illustrated-message': {
191
+ tagName: 'sp-illustrated-message',
192
+ slots: [
193
+ { name: '' },
194
+ { name: 'heading' },
195
+ { name: 'description' },
196
+ { name: 'illustration', acceptedChildren: ['sp-icon', 'svg'] },
197
+ ],
198
+ deprecations: {
199
+ attributes: [
200
+ {
201
+ attribute: 'heading',
202
+ message: 'The "heading" property on <sp-illustrated-message> is deprecated. Use <h2 slot="heading"> instead.',
203
+ },
204
+ {
205
+ attribute: 'description',
206
+ message: 'The "description" property on <sp-illustrated-message> is deprecated. Use <span slot="description"> instead.',
207
+ },
208
+ ],
209
+ },
210
+ },
211
+ 'sp-status-light': {
212
+ tagName: 'sp-status-light',
213
+ accessibility: {
214
+ requireOneOf: ['label', 'aria-label', 'aria-labelledby'],
215
+ },
216
+ deprecations: {
217
+ attributes: [
218
+ {
219
+ attribute: 'variant',
220
+ deprecatedValues: [
221
+ {
222
+ value: 'accent',
223
+ message: '<sp-status-light> does not support the "accent" variant in Spectrum 2. Use "neutral" or "info" depending on intent.',
224
+ },
225
+ ],
226
+ },
227
+ {
228
+ attribute: 'disabled',
229
+ message: 'The "disabled" attribute on <sp-status-light> was deprecated in Spectrum 1 and removed in Spectrum 2.',
230
+ },
231
+ ],
232
+ },
233
+ validAttributeValues: {
234
+ variant: [
235
+ 'neutral',
236
+ 'info',
237
+ 'positive',
238
+ 'notice',
239
+ 'negative',
240
+ 'yellow',
241
+ 'fuchsia',
242
+ 'indigo',
243
+ 'seafoam',
244
+ 'purple',
245
+ ],
246
+ },
247
+ },
248
+ };
249
+ //# sourceMappingURL=components.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"components.js","sourceRoot":"","sources":["../../src/descriptors/components.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;GAUG;AAIH;;;;;;GAMG;AACH,MAAM,CAAC,MAAM,oBAAoB,GAA2B;IAC1D,gBAAgB,EAAE;QAChB,OAAO,EAAE,gBAAgB;QACzB,aAAa,EAAE;YACb,YAAY,EAAE,CAAC,OAAO,EAAE,YAAY,EAAE,iBAAiB,CAAC;SACzD;QACD,KAAK,EAAE;YACL;gBACE,IAAI,EAAE,EAAE;gBACR,gBAAgB,EAAE;oBAChB,cAAc;oBACd,eAAe;oBACf,iBAAiB;iBAClB;aACF;YACD,EAAE,IAAI,EAAE,MAAM,EAAE,gBAAgB,EAAE,CAAC,SAAS,CAAC,EAAE;YAC/C,EAAE,IAAI,EAAE,OAAO,EAAE;YACjB,EAAE,IAAI,EAAE,SAAS,EAAE,gBAAgB,EAAE,CAAC,YAAY,CAAC,EAAE;SACtD;KACF;IAED,WAAW,EAAE;QACX,OAAO,EAAE,WAAW;QACpB,aAAa,EAAE;YACb,YAAY,EAAE,CAAC,OAAO,EAAE,eAAe,CAAC;YACxC,gBAAgB,EAAE;gBAChB;oBACE,IAAI,EAAE,EAAE,aAAa,EAAE,CAAC,eAAe,EAAE,MAAM,CAAC,EAAE;oBAClD,YAAY,EAAE,CAAC,OAAO,CAAC;oBACvB,OAAO,EACL,yGAAyG;iBAC5G;aACF;SACF;KACF;IAED,iBAAiB,EAAE;QACjB,OAAO,EAAE,iBAAiB;QAC1B,aAAa,EAAE;YACb,YAAY,EAAE,CAAC,OAAO,CAAC;SACxB;KACF;IAED,mBAAmB,EAAE;QACnB,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BAChB;4BACE,KAAK,EAAE,QAAQ;4BACf,OAAO,EACL,qHAAqH;yBACxH;qBACF;iBACF;gBACD;oBACE,SAAS,EAAE,UAAU;oBACrB,OAAO,EACL,uGAAuG;iBAC1G;aACF;SACF;QACD,oBAAoB,EAAE;YACpB,OAAO,EAAE;gBACP,SAAS;gBACT,MAAM;gBACN,UAAU;gBACV,QAAQ;gBACR,UAAU;gBACV,QAAQ;gBACR,SAAS;gBACT,QAAQ;gBACR,SAAS;gBACT,QAAQ;aACT;SACF;KACF;CACF,CAAC"}
@@ -0,0 +1,39 @@
1
+ /**
2
+ * Copyright 2026 Adobe. All rights reserved.
3
+ * This file is licensed to you under the Apache License, Version 2.0 (the "License");
4
+ * you may not use this file except in compliance with the License. You may obtain a copy
5
+ * of the License at http://www.apache.org/licenses/LICENSE-2.0
6
+ *
7
+ * Unless required by applicable law or agreed to in writing, software distributed under
8
+ * the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS
9
+ * OF ANY KIND, either express or implied. See the License for the specific language
10
+ * governing permissions and limitations under the License.
11
+ */
12
+ import type { ESLint, Linter } from 'eslint';
13
+ declare const rules: {
14
+ 'accessible-component': import("eslint").Rule.RuleModule;
15
+ 'no-deprecated': import("eslint").Rule.RuleModule;
16
+ 'required-attributes': import("eslint").Rule.RuleModule;
17
+ 'valid-attribute-values': import("eslint").Rule.RuleModule;
18
+ 'valid-slot-names': import("eslint").Rule.RuleModule;
19
+ 'valid-slot-children': import("eslint").Rule.RuleModule;
20
+ };
21
+ declare const plugin: ESLint.Plugin;
22
+ /**
23
+ * Flat configs for ESLint 9+ (eslint.config.js).
24
+ *
25
+ * @example
26
+ * ```js
27
+ * import swc from 'eslint-plugin-web-components-doctor';
28
+ *
29
+ * export default [
30
+ * swc.configs.recommended,
31
+ * // or swc.configs.strict
32
+ * ];
33
+ * ```
34
+ */
35
+ declare const configs: Record<string, Linter.Config>;
36
+ export default plugin;
37
+ export { rules, configs };
38
+ export type { ComponentDescriptor, ComponentDescriptorMap, SlotDescriptor, } from './core/types.js';
39
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;GAUG;AAEH,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM,QAAQ,CAAC;AAU7C,QAAA,MAAM,KAAK;;;;;;;CAOV,CAAC;AAoBF,QAAA,MAAM,MAAM,EAAE,MAAM,CAAC,MAOpB,CAAC;AAEF;;;;;;;;;;;;GAYG;AACH,QAAA,MAAM,OAAO,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,MAAM,CAS1C,CAAC;AAIF,eAAe,MAAM,CAAC;AACtB,OAAO,EAAE,KAAK,EAAE,OAAO,EAAE,CAAC;AAC1B,YAAY,EACV,mBAAmB,EACnB,sBAAsB,EACtB,cAAc,GACf,MAAM,iBAAiB,CAAC"}
package/dist/index.js ADDED
@@ -0,0 +1,77 @@
1
+ /**
2
+ * Copyright 2026 Adobe. All rights reserved.
3
+ * This file is licensed to you under the Apache License, Version 2.0 (the "License");
4
+ * you may not use this file except in compliance with the License. You may obtain a copy
5
+ * of the License at http://www.apache.org/licenses/LICENSE-2.0
6
+ *
7
+ * Unless required by applicable law or agreed to in writing, software distributed under
8
+ * the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS
9
+ * OF ANY KIND, either express or implied. See the License for the specific language
10
+ * governing permissions and limitations under the License.
11
+ */
12
+ import { accessibleComponent } from './rules/accessible-component.js';
13
+ import { noDeprecated } from './rules/no-deprecated.js';
14
+ import { requiredAttributes } from './rules/required-attributes.js';
15
+ import { validAttributeValues } from './rules/valid-attribute-values.js';
16
+ import { validSlotNames } from './rules/valid-slot-names.js';
17
+ import { validSlotChildren } from './rules/valid-slot-children.js';
18
+ const PLUGIN_NAME = 'swc';
19
+ const rules = {
20
+ 'accessible-component': accessibleComponent,
21
+ 'no-deprecated': noDeprecated,
22
+ 'required-attributes': requiredAttributes,
23
+ 'valid-attribute-values': validAttributeValues,
24
+ 'valid-slot-names': validSlotNames,
25
+ 'valid-slot-children': validSlotChildren,
26
+ };
27
+ const recommendedRules = {
28
+ [`${PLUGIN_NAME}/accessible-component`]: 'warn',
29
+ [`${PLUGIN_NAME}/no-deprecated`]: 'warn',
30
+ [`${PLUGIN_NAME}/required-attributes`]: 'warn',
31
+ [`${PLUGIN_NAME}/valid-attribute-values`]: 'warn',
32
+ [`${PLUGIN_NAME}/valid-slot-names`]: 'warn',
33
+ [`${PLUGIN_NAME}/valid-slot-children`]: 'warn',
34
+ };
35
+ const strictRules = {
36
+ [`${PLUGIN_NAME}/accessible-component`]: 'error',
37
+ [`${PLUGIN_NAME}/no-deprecated`]: 'error',
38
+ [`${PLUGIN_NAME}/required-attributes`]: 'error',
39
+ [`${PLUGIN_NAME}/valid-attribute-values`]: 'error',
40
+ [`${PLUGIN_NAME}/valid-slot-names`]: 'error',
41
+ [`${PLUGIN_NAME}/valid-slot-children`]: 'error',
42
+ };
43
+ const plugin = {
44
+ meta: {
45
+ name: 'eslint-plugin-web-components-doctor',
46
+ version: '0.3.0',
47
+ },
48
+ rules,
49
+ configs: {},
50
+ };
51
+ /**
52
+ * Flat configs for ESLint 9+ (eslint.config.js).
53
+ *
54
+ * @example
55
+ * ```js
56
+ * import swc from 'eslint-plugin-web-components-doctor';
57
+ *
58
+ * export default [
59
+ * swc.configs.recommended,
60
+ * // or swc.configs.strict
61
+ * ];
62
+ * ```
63
+ */
64
+ const configs = {
65
+ recommended: {
66
+ plugins: { [PLUGIN_NAME]: plugin },
67
+ rules: recommendedRules,
68
+ },
69
+ strict: {
70
+ plugins: { [PLUGIN_NAME]: plugin },
71
+ rules: strictRules,
72
+ },
73
+ };
74
+ plugin.configs = configs;
75
+ export default plugin;
76
+ export { rules, configs };
77
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3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,mBAAmB,CAAC,EAAE,OAAO;IAC5C,CAAC,GAAG,WAAW,sBAAsB,CAAC,EAAE,OAAO;CAChD,CAAC;AAEF,MAAM,MAAM,GAAkB;IAC5B,IAAI,EAAE;QACJ,IAAI,EAAE,qCAAqC;QAC3C,OAAO,EAAE,OAAO;KACjB;IACD,KAAK;IACL,OAAO,EAAE,EAAE;CACZ,CAAC;AAEF;;;;;;;;;;;;GAYG;AACH,MAAM,OAAO,GAAkC;IAC7C,WAAW,EAAE;QACX,OAAO,EAAE,EAAE,CAAC,WAAW,CAAC,EAAE,MAAM,EAAE;QAClC,KAAK,EAAE,gBAAgB;KACxB;IACD,MAAM,EAAE;QACN,OAAO,EAAE,EAAE,CAAC,WAAW,CAAC,EAAE,MAAM,EAAE;QAClC,KAAK,EAAE,WAAW;KACnB;CACF,CAAC;AAEF,MAAM,CAAC,OAAO,GAAG,OAAO,CAAC;AAEzB,eAAe,MAAM,CAAC;AACtB,OAAO,EAAE,KAAK,EAAE,OAAO,EAAE,CAAC"}
@@ -0,0 +1,13 @@
1
+ /**
2
+ * Copyright 2026 Adobe. All rights reserved.
3
+ * This file is licensed to you under the Apache License, Version 2.0 (the "License");
4
+ * you may not use this file except in compliance with the License. You may obtain a copy
5
+ * of the License at http://www.apache.org/licenses/LICENSE-2.0
6
+ *
7
+ * Unless required by applicable law or agreed to in writing, software distributed under
8
+ * the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS
9
+ * OF ANY KIND, either express or implied. See the License for the specific language
10
+ * governing permissions and limitations under the License.
11
+ */
12
+ export declare const accessibleComponent: import("eslint").Rule.RuleModule;
13
+ //# sourceMappingURL=accessible-component.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"accessible-component.d.ts","sourceRoot":"","sources":["../../src/rules/accessible-component.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;GAUG;AAKH,eAAO,MAAM,mBAAmB,kCACqB,CAAC"}
@@ -0,0 +1,15 @@
1
+ /**
2
+ * Copyright 2026 Adobe. All rights reserved.
3
+ * This file is licensed to you under the Apache License, Version 2.0 (the "License");
4
+ * you may not use this file except in compliance with the License. You may obtain a copy
5
+ * of the License at http://www.apache.org/licenses/LICENSE-2.0
6
+ *
7
+ * Unless required by applicable law or agreed to in writing, software distributed under
8
+ * the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS
9
+ * OF ANY KIND, either express or implied. See the License for the specific language
10
+ * governing permissions and limitations under the License.
11
+ */
12
+ import { createAccessibleComponentRule } from '../core/rule-factory.js';
13
+ import { componentDescriptors } from '../descriptors/components.js';
14
+ export const accessibleComponent = createAccessibleComponentRule(componentDescriptors);
15
+ //# sourceMappingURL=accessible-component.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"accessible-component.js","sourceRoot":"","sources":["../../src/rules/accessible-component.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;GAUG;AAEH,OAAO,EAAE,6BAA6B,EAAE,MAAM,yBAAyB,CAAC;AACxE,OAAO,EAAE,oBAAoB,EAAE,MAAM,8BAA8B,CAAC;AAEpE,MAAM,CAAC,MAAM,mBAAmB,GAC9B,6BAA6B,CAAC,oBAAoB,CAAC,CAAC"}
@@ -0,0 +1,13 @@
1
+ /**
2
+ * Copyright 2026 Adobe. All rights reserved.
3
+ * This file is licensed to you under the Apache License, Version 2.0 (the "License");
4
+ * you may not use this file except in compliance with the License. You may obtain a copy
5
+ * of the License at http://www.apache.org/licenses/LICENSE-2.0
6
+ *
7
+ * Unless required by applicable law or agreed to in writing, software distributed under
8
+ * the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS
9
+ * OF ANY KIND, either express or implied. See the License for the specific language
10
+ * governing permissions and limitations under the License.
11
+ */
12
+ export declare const noDeprecated: import("eslint").Rule.RuleModule;
13
+ //# sourceMappingURL=no-deprecated.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"no-deprecated.d.ts","sourceRoot":"","sources":["../../src/rules/no-deprecated.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;GAUG;AAKH,eAAO,MAAM,YAAY,kCAA+C,CAAC"}
@@ -0,0 +1,15 @@
1
+ /**
2
+ * Copyright 2026 Adobe. All rights reserved.
3
+ * This file is licensed to you under the Apache License, Version 2.0 (the "License");
4
+ * you may not use this file except in compliance with the License. You may obtain a copy
5
+ * of the License at http://www.apache.org/licenses/LICENSE-2.0
6
+ *
7
+ * Unless required by applicable law or agreed to in writing, software distributed under
8
+ * the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS
9
+ * OF ANY KIND, either express or implied. See the License for the specific language
10
+ * governing permissions and limitations under the License.
11
+ */
12
+ import { createNoDeprecatedRule } from '../core/rule-factory.js';
13
+ import { componentDescriptors } from '../descriptors/components.js';
14
+ export const noDeprecated = createNoDeprecatedRule(componentDescriptors);
15
+ //# sourceMappingURL=no-deprecated.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"no-deprecated.js","sourceRoot":"","sources":["../../src/rules/no-deprecated.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;GAUG;AAEH,OAAO,EAAE,sBAAsB,EAAE,MAAM,yBAAyB,CAAC;AACjE,OAAO,EAAE,oBAAoB,EAAE,MAAM,8BAA8B,CAAC;AAEpE,MAAM,CAAC,MAAM,YAAY,GAAG,sBAAsB,CAAC,oBAAoB,CAAC,CAAC"}
@@ -0,0 +1,13 @@
1
+ /**
2
+ * Copyright 2026 Adobe. All rights reserved.
3
+ * This file is licensed to you under the Apache License, Version 2.0 (the "License");
4
+ * you may not use this file except in compliance with the License. You may obtain a copy
5
+ * of the License at http://www.apache.org/licenses/LICENSE-2.0
6
+ *
7
+ * Unless required by applicable law or agreed to in writing, software distributed under
8
+ * the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS
9
+ * OF ANY KIND, either express or implied. See the License for the specific language
10
+ * governing permissions and limitations under the License.
11
+ */
12
+ export declare const requiredAttributes: import("eslint").Rule.RuleModule;
13
+ //# sourceMappingURL=required-attributes.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"required-attributes.d.ts","sourceRoot":"","sources":["../../src/rules/required-attributes.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;GAUG;AAKH,eAAO,MAAM,kBAAkB,kCACqB,CAAC"}
@@ -0,0 +1,15 @@
1
+ /**
2
+ * Copyright 2026 Adobe. All rights reserved.
3
+ * This file is licensed to you under the Apache License, Version 2.0 (the "License");
4
+ * you may not use this file except in compliance with the License. You may obtain a copy
5
+ * of the License at http://www.apache.org/licenses/LICENSE-2.0
6
+ *
7
+ * Unless required by applicable law or agreed to in writing, software distributed under
8
+ * the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS
9
+ * OF ANY KIND, either express or implied. See the License for the specific language
10
+ * governing permissions and limitations under the License.
11
+ */
12
+ import { createRequiredAttributesRule } from '../core/rule-factory.js';
13
+ import { componentDescriptors } from '../descriptors/components.js';
14
+ export const requiredAttributes = createRequiredAttributesRule(componentDescriptors);
15
+ //# sourceMappingURL=required-attributes.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"required-attributes.js","sourceRoot":"","sources":["../../src/rules/required-attributes.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;GAUG;AAEH,OAAO,EAAE,4BAA4B,EAAE,MAAM,yBAAyB,CAAC;AACvE,OAAO,EAAE,oBAAoB,EAAE,MAAM,8BAA8B,CAAC;AAEpE,MAAM,CAAC,MAAM,kBAAkB,GAC7B,4BAA4B,CAAC,oBAAoB,CAAC,CAAC"}
@@ -0,0 +1,13 @@
1
+ /**
2
+ * Copyright 2026 Adobe. All rights reserved.
3
+ * This file is licensed to you under the Apache License, Version 2.0 (the "License");
4
+ * you may not use this file except in compliance with the License. You may obtain a copy
5
+ * of the License at http://www.apache.org/licenses/LICENSE-2.0
6
+ *
7
+ * Unless required by applicable law or agreed to in writing, software distributed under
8
+ * the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS
9
+ * OF ANY KIND, either express or implied. See the License for the specific language
10
+ * governing permissions and limitations under the License.
11
+ */
12
+ export declare const validAttributeValues: import("eslint").Rule.RuleModule;
13
+ //# sourceMappingURL=valid-attribute-values.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"valid-attribute-values.d.ts","sourceRoot":"","sources":["../../src/rules/valid-attribute-values.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;GAUG;AAKH,eAAO,MAAM,oBAAoB,kCACqB,CAAC"}
@@ -0,0 +1,15 @@
1
+ /**
2
+ * Copyright 2026 Adobe. All rights reserved.
3
+ * This file is licensed to you under the Apache License, Version 2.0 (the "License");
4
+ * you may not use this file except in compliance with the License. You may obtain a copy
5
+ * of the License at http://www.apache.org/licenses/LICENSE-2.0
6
+ *
7
+ * Unless required by applicable law or agreed to in writing, software distributed under
8
+ * the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS
9
+ * OF ANY KIND, either express or implied. See the License for the specific language
10
+ * governing permissions and limitations under the License.
11
+ */
12
+ import { createValidAttributeValuesRule } from '../core/rule-factory.js';
13
+ import { componentDescriptors } from '../descriptors/components.js';
14
+ export const validAttributeValues = createValidAttributeValuesRule(componentDescriptors);
15
+ //# sourceMappingURL=valid-attribute-values.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"valid-attribute-values.js","sourceRoot":"","sources":["../../src/rules/valid-attribute-values.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;GAUG;AAEH,OAAO,EAAE,8BAA8B,EAAE,MAAM,yBAAyB,CAAC;AACzE,OAAO,EAAE,oBAAoB,EAAE,MAAM,8BAA8B,CAAC;AAEpE,MAAM,CAAC,MAAM,oBAAoB,GAC/B,8BAA8B,CAAC,oBAAoB,CAAC,CAAC"}
@@ -0,0 +1,13 @@
1
+ /**
2
+ * Copyright 2026 Adobe. All rights reserved.
3
+ * This file is licensed to you under the Apache License, Version 2.0 (the "License");
4
+ * you may not use this file except in compliance with the License. You may obtain a copy
5
+ * of the License at http://www.apache.org/licenses/LICENSE-2.0
6
+ *
7
+ * Unless required by applicable law or agreed to in writing, software distributed under
8
+ * the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS
9
+ * OF ANY KIND, either express or implied. See the License for the specific language
10
+ * governing permissions and limitations under the License.
11
+ */
12
+ export declare const validSlotChildren: import("eslint").Rule.RuleModule;
13
+ //# sourceMappingURL=valid-slot-children.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"valid-slot-children.d.ts","sourceRoot":"","sources":["../../src/rules/valid-slot-children.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;GAUG;AAKH,eAAO,MAAM,iBAAiB,kCACqB,CAAC"}
@@ -0,0 +1,15 @@
1
+ /**
2
+ * Copyright 2026 Adobe. All rights reserved.
3
+ * This file is licensed to you under the Apache License, Version 2.0 (the "License");
4
+ * you may not use this file except in compliance with the License. You may obtain a copy
5
+ * of the License at http://www.apache.org/licenses/LICENSE-2.0
6
+ *
7
+ * Unless required by applicable law or agreed to in writing, software distributed under
8
+ * the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS
9
+ * OF ANY KIND, either express or implied. See the License for the specific language
10
+ * governing permissions and limitations under the License.
11
+ */
12
+ import { createValidSlotChildrenRule } from '../core/rule-factory.js';
13
+ import { componentDescriptors } from '../descriptors/components.js';
14
+ export const validSlotChildren = createValidSlotChildrenRule(componentDescriptors);
15
+ //# sourceMappingURL=valid-slot-children.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"valid-slot-children.js","sourceRoot":"","sources":["../../src/rules/valid-slot-children.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;GAUG;AAEH,OAAO,EAAE,2BAA2B,EAAE,MAAM,yBAAyB,CAAC;AACtE,OAAO,EAAE,oBAAoB,EAAE,MAAM,8BAA8B,CAAC;AAEpE,MAAM,CAAC,MAAM,iBAAiB,GAC5B,2BAA2B,CAAC,oBAAoB,CAAC,CAAC"}
@@ -0,0 +1,13 @@
1
+ /**
2
+ * Copyright 2026 Adobe. All rights reserved.
3
+ * This file is licensed to you under the Apache License, Version 2.0 (the "License");
4
+ * you may not use this file except in compliance with the License. You may obtain a copy
5
+ * of the License at http://www.apache.org/licenses/LICENSE-2.0
6
+ *
7
+ * Unless required by applicable law or agreed to in writing, software distributed under
8
+ * the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS
9
+ * OF ANY KIND, either express or implied. See the License for the specific language
10
+ * governing permissions and limitations under the License.
11
+ */
12
+ export declare const validSlotNames: import("eslint").Rule.RuleModule;
13
+ //# sourceMappingURL=valid-slot-names.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"valid-slot-names.d.ts","sourceRoot":"","sources":["../../src/rules/valid-slot-names.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;GAUG;AAKH,eAAO,MAAM,cAAc,kCAAiD,CAAC"}
@@ -0,0 +1,15 @@
1
+ /**
2
+ * Copyright 2026 Adobe. All rights reserved.
3
+ * This file is licensed to you under the Apache License, Version 2.0 (the "License");
4
+ * you may not use this file except in compliance with the License. You may obtain a copy
5
+ * of the License at http://www.apache.org/licenses/LICENSE-2.0
6
+ *
7
+ * Unless required by applicable law or agreed to in writing, software distributed under
8
+ * the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS
9
+ * OF ANY KIND, either express or implied. See the License for the specific language
10
+ * governing permissions and limitations under the License.
11
+ */
12
+ import { createValidSlotNamesRule } from '../core/rule-factory.js';
13
+ import { componentDescriptors } from '../descriptors/components.js';
14
+ export const validSlotNames = createValidSlotNamesRule(componentDescriptors);
15
+ //# sourceMappingURL=valid-slot-names.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"valid-slot-names.js","sourceRoot":"","sources":["../../src/rules/valid-slot-names.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;GAUG;AAEH,OAAO,EAAE,wBAAwB,EAAE,MAAM,yBAAyB,CAAC;AACnE,OAAO,EAAE,oBAAoB,EAAE,MAAM,8BAA8B,CAAC;AAEpE,MAAM,CAAC,MAAM,cAAc,GAAG,wBAAwB,CAAC,oBAAoB,CAAC,CAAC"}