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

Feature request: configuration option validAtRules (for UnknownAtRules), just like the existing validProperties (for UnknownProperty) #214

Open
danielweck opened this issue May 5, 2020 · 1 comment
Assignees
Labels
feature-request Request for new features or functionality
Milestone

Comments

@danielweck
Copy link

Code references:

export const Settings = {
ValidProperties: new Setting('validProperties', localize('rule.validProperties', "A list of properties that are not validated against the `unknownProperties` rule."), [])
};

UnknownProperty: new Rule('unknownProperties', localize('rule.unknownProperty', "Unknown property."), Warning),
UnknownAtRules: new Rule('unknownAtRules', localize('rule.unknownAtRules', "Unknown at-rule."), Warning),

Related issues:
#113
microsoft/typescript-styled-plugin#83
microsoft/typescript-styled-plugin#82
microsoft/typescript-styled-plugin#77

Related documentation:
https://github.com/microsoft/typescript-styled-plugin#validproperties

@aeschli aeschli added the feature-request Request for new features or functionality label Nov 11, 2020
@aeschli aeschli added this to the Backlog milestone Nov 11, 2020
@aeschli
Copy link
Contributor

aeschli commented Nov 11, 2020

Note that in VSCode this can already be solved by adding custom data: https://code.visualstudio.com/Docs/languages/CSS#_css-custom-data

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature-request Request for new features or functionality
Projects
None yet
Development

No branches or pull requests

2 participants