We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
The .vue file
<style lang="scss" scoped> .unused-class { background: red; } </style>
My eslintrc.js config:
module.exports = { root: true, env: { browser: true, node: true }, extends: [ 'plugin:vue/recommended', 'plugin:css-modules/recommended' ], plugins: [ 'vue', 'eslint-plugin-css-modules' ] };
Expected: eslint should throws a warning/error for the unused class
The text was updated successfully, but these errors were encountered:
scoped attribute for <style> tag doesn't use css modules. You should use module attribute for <style> tag to use css modules ( https://vue-loader.vuejs.org/guide/css-modules.html )
scoped
<style>
module
Sorry, something went wrong.
No branches or pull requests
The .vue file
My eslintrc.js config:
Expected: eslint should throws a warning/error for the unused class
The text was updated successfully, but these errors were encountered: