@salesforce-ux/eslint-plugin-slds 0.0.11 → 0.0.12-alpha
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/build/index.js +8 -2
- package/build/index.js.map +1 -1
- package/build/package.json +1 -1
- package/package.json +1 -1
package/build/index.js
CHANGED
|
@@ -4008,7 +4008,10 @@ function requireModalCloseButtonIssue () {
|
|
|
4008
4008
|
messageId: "ensureSizeAttribute",
|
|
4009
4009
|
fix(fixer) {
|
|
4010
4010
|
//return fixer.insertTextAfter(node, ' size="large"');
|
|
4011
|
-
|
|
4011
|
+
if(variantAttr)
|
|
4012
|
+
{
|
|
4013
|
+
return fixer.insertTextAfterRange([variantAttr?.range[1], variantAttr?.range[1]], ' size="large"')
|
|
4014
|
+
}
|
|
4012
4015
|
},
|
|
4013
4016
|
});
|
|
4014
4017
|
}
|
|
@@ -4079,7 +4082,10 @@ function requireModalCloseButtonIssue () {
|
|
|
4079
4082
|
messageId: "ensureSizeAttribute",
|
|
4080
4083
|
fix(fixer) {
|
|
4081
4084
|
//return fixer.insertTextAfter(node, ' size="large"');
|
|
4082
|
-
|
|
4085
|
+
if(variantAttr)
|
|
4086
|
+
{
|
|
4087
|
+
return fixer.insertTextAfterRange([variantAttr.range[1], variantAttr.range[1]], 'size="large"')
|
|
4088
|
+
}
|
|
4083
4089
|
},
|
|
4084
4090
|
});
|
|
4085
4091
|
}
|