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) 252 B
import { defineConfig } from "eslint/config"; import { sldsCssPlugin } from "@salesforce-ux/eslint-plugin-slds"; export default defineConfig([ { plugins: { ...sldsCssPlugin() }, extends: ["@salesforce-ux/slds/recommended"] }, ]);