UNPKG

@salesforce-ux/eslint-plugin-slds

Version:

ESLint plugin provides custom linting rules specifically built for Salesforce Lightning Design System 2 (SLDS 2 beta)

11 lines (10 loc) 823 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.messages = void 0; exports.messages = { removeClass: "Remove the slds-button_icon-inverse class from the modal close button in components that use the SLDS modal blueprint.", changeVariant: "Change the variant attribute value from bare-inverse to bare in <lightning-button-icon> or <lightning-icon>.", removeVariant: "Remove the variant attribute from the <lightning-icon> component inside the <button> element.", ensureButtonClasses: "Add or move slds-button and slds-button_icon to the class attribute of the <button> element or <lightning-button-icon> component.", ensureSizeAttribute: "To size icons properly, set the size attribute ‌to large in the <lightning-icon> and <lightning-button-icon> components.", };