Skip to content

Ignore unknown properties in ICSS :import blocks#497

Open
NgoQuocViet2001 wants to merge 1 commit into
microsoft:mainfrom
NgoQuocViet2001:fix-401-icss-import-lint
Open

Ignore unknown properties in ICSS :import blocks#497
NgoQuocViet2001 wants to merge 1 commit into
microsoft:mainfrom
NgoQuocViet2001:fix-401-icss-import-lint

Conversation

@NgoQuocViet2001

Copy link
Copy Markdown

Fixes #401

Summary

  • Treat functional ICSS :import(...) blocks like existing :export blocks during property linting.
  • Avoid false Unknown property and IE-hack diagnostics for ICSS import aliases.
  • Keep the existing property checks for ordinary selectors.

Testing

  • npm run compile (TypeScript and ESLint)
  • Targeted CSS lint suite: 15/15 passed
  • Full test suite: 710/710 passed across 29 test files

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.

Remove warning for properties inside ICSS :import blocks

1 participant