Skip to content

Refactor Sass mixin/function/vars/placeholder names to be kebab-case #7365

@driskull

Description

@driskull

Description

All sass mixin/function/vars/placeholder names should be kebab case for consistency and to follow Sass naming rules.

E.g.,

  • @mixin calciteHydratedHidden() => @mixin calcite-hydrated-hidden()

Additionally, the following stylelint-scss rules should be enabled to enforce this naming convention:

Proposed Advantages

development consistency

Which Component

All components

Relevant Info

#7346 (comment)

Calcite package

  • @esri/calcite-components
  • @esri/calcite-components-react

Metadata

Metadata

Labels

4 - verifiedIssues that have been tested, confirmed as mitigated, and are ready to close.calcite-componentsIssues specific to the @esri/calcite-components package.estimate - 2Small fix or update, may require updates to tests.refactorIssues tied to code that needs to be significantly reworked.

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions