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 a lint for using global function names #397

Closed
nex3 opened this issue Nov 17, 2019 · 1 comment
Closed

Add a lint for using global function names #397

nex3 opened this issue Nov 17, 2019 · 1 comment
Labels
Help wanted 🙋 Help is needed New rule 👌 Ready to be created as a new rule

Comments

@nex3
Copy link
Contributor

nex3 commented Nov 17, 2019

Now that the module system has launched, functions that are available from modules should be called using those modules rather than using their global aliases. The canonical list of which functions have moved to which modules is in the module system proposal.

Maybe the lint should also link to the Sass migrator documentation to help users migrate automatically?

cc @rambleraptor

@kristerkari kristerkari added New rule 👌 Ready to be created as a new rule Help wanted 🙋 Help is needed labels Nov 18, 2019
@kristerkari
Copy link
Collaborator

New rule released in v3.16.0:
https://github.com/kristerkari/stylelint-scss/releases/tag/3.16.0

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Help wanted 🙋 Help is needed New rule 👌 Ready to be created as a new rule
Development

No branches or pull requests

2 participants