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

Linter rule messages are very generic #123

Open
lee-chase opened this issue May 8, 2024 · 0 comments
Open

Linter rule messages are very generic #123

lee-chase opened this issue May 8, 2024 · 0 comments

Comments

@lee-chase
Copy link
Member

As mentioned in #104 the messages displayed by the linter rule are very generic

e.g.
Expected carbon type token, mixin or function to be set for variable "$spacing-07" used by "line-height" found "an unknown, undefined or unrecognized value". carbon/type-token-use

A more specific message could in many cases would allow users to understand and address issues raised by the linter rule.

e.g.
Line-height shouldn't be set directly. Use the typography.type-style() mixin instead. carbon/type-token-use

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant