@salesforce-ux/eslint-plugin-slds
Version:
ESLint plugin provides custom linting rules specifically built for Salesforce Lightning Design System 2 (SLDS 2 beta)
18 lines (17 loc) • 438 B
TypeScript
import { Rule } from 'eslint';
declare const enforceBemUsage: {
meta: {
type: "problem" | "suggestion" | "layout";
docs: {
recommended: boolean;
description: string;
url: string;
};
fixable: string;
messages: Record<string, string>;
};
create(context: any): Rule.NodeListener | {
Tag: (node: any) => void;
};
};
export = enforceBemUsage;