Skip to content

Conversation

@bstaruk
Copy link
Contributor

@bstaruk bstaruk commented Apr 23, 2018

This PR adds a new array of options to fc-config.js called codeStyle.

This array will be used to house code style options that are used in the build/scaffolding processes, starting with pascalClassNames.

pascalClassNames defaults to false, but when this is switched to true the FC scaffolding tasks will use PascalCase for the CSS class names on newly-generated atoms/molecules/organisms/modifiers.

This option will not change the baseline components and only affects new ones. The reason for this is to keep things simple and maintainable, while improving backwards-compatibility with components that may have been generated with PascalCase class names with older versions of FC.

See #365 for more information and context.

Types of changes

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to change)

@bstaruk bstaruk changed the title [WIP] Setting to Revert Scaffolding CSS to PascalCase (#365) Add Setting to Revert Scaffolding CSS to PascalCase (#365) Apr 23, 2018
@bstaruk bstaruk requested review from CSKingMartin and drolsen April 23, 2018 14:34
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