Skip to content

NEW: @W-18395429@ Add SLDS Config Settings and Rules to ESLint (v9) - #328

Merged
randi274 merged 8 commits into
devfrom
randi/W-18395429-eslint-config-for-slds
Aug 15, 2025
Merged

NEW: @W-18395429@ Add SLDS Config Settings and Rules to ESLint (v9)#328
randi274 merged 8 commits into
devfrom
randi/W-18395429-eslint-config-for-slds

Conversation

@randi274

@randi274 randi274 commented Aug 14, 2025

Copy link
Copy Markdown
Contributor

This PR:

  • Adds new SLDS rules for Lightning Web Components HTML and Salesforce CMP files
  • Adds a new setting for the ESLint engine disable_slds_base_config to turn off these new SLDS rules
  • Adds a new file extension for the ESLint engine html (.html, .htm, and .cmp) to be used for rule discovery of particular files
  • Note: settings are available with v9's flat config only

Comment thread packages/code-analyzer-eslint-engine/test/engine.test.ts
Comment thread packages/code-analyzer-eslint-engine/src/rule-mappings.ts Outdated
Comment thread packages/code-analyzer-eslint-engine/src/base-config.ts Outdated
@randi274
randi274 force-pushed the randi/W-18395429-eslint-config-for-slds branch from 48288df to 37586ad Compare August 15, 2025 13:46
Comment thread packages/code-analyzer-eslint-engine/src/config.ts Outdated
Comment thread packages/code-analyzer-eslint-engine/src/rule-mappings.ts Outdated
Comment thread packages/code-analyzer-eslint-engine/src/rule-mappings.ts Outdated
@randi274
randi274 force-pushed the randi/W-18395429-eslint-config-for-slds branch from f929a57 to acfd26a Compare August 15, 2025 17:47
@randi274
randi274 merged commit a084f4b into dev Aug 15, 2025
7 checks passed
@stephen-carter-at-sf
stephen-carter-at-sf deleted the randi/W-18395429-eslint-config-for-slds branch August 15, 2025 19:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants