bem / bem-sdk

BEM SDK packages
https://en.bem.info/toolbox/sdk/
88 stars 25 forks source link

NamingConvention and defaultLayer #304

Open qfox opened 6 years ago

qfox commented 6 years ago

Knowledge of defaultLayer should not be a part of "naming.cell.match" package. Can we write some sort of convention normalizer?

Feels like it can be a container with normalization functions like Cell, EntityName, etc.

This container should check and resolve fields for naming, fs delims, and anything else we use in naming presets: