Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Setting to Revert Scaffolding CSS to PascalCase (#365) #366

Open
wants to merge 1 commit into
base: develop
Choose a base branch
from

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
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.

2 participants