Skip to content

Consistently use PascalCase for components referencing#793

Merged
pgiraud merged 1 commit intodalibo:masterfrom
dlax:pascalcase
Aug 27, 2025
Merged

Consistently use PascalCase for components referencing#793
pgiraud merged 1 commit intodalibo:masterfrom
dlax:pascalcase

Conversation

@dlax
Copy link
Contributor

@dlax dlax commented Aug 26, 2025

As we use "Single-File Components", the limitations requiring usage of kebab-case components referencing does not apply so using the same casing for referencing and definition is clearer.

@pgiraud
Copy link
Member

pgiraud commented Aug 27, 2025

We could enforce this with an option in the eslint config.
https://eslint.vuejs.org/rules/component-name-in-template-casing

As we use "Single-File Components", the limitations requiring usage of
kebab-case components referencing does not apply so using the same
casing for referencing and definition is clearer.
@dlax
Copy link
Contributor Author

dlax commented Aug 27, 2025

We could enforce this with an option in the eslint config. https://eslint.vuejs.org/rules/component-name-in-template-casing

Indeed; and this fixes more occurrences than I found myself.

@pgiraud pgiraud merged commit 22d1365 into dalibo:master Aug 27, 2025
2 checks passed
@dlax dlax deleted the pascalcase branch September 17, 2025 06:23
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