eslint-plugin-vue-scoped-css
eslint-plugin-vue-scoped-css copied to clipboard
ESLint plugin for Scoped CSS in Vue.js
Hi. Is there a way to ignore some selector to avoid false positive when we override selectors from some components library for example ?
Hi! Is it possible to configure `vue-scoped-css/require-v-deep-argument` rule to apply fixes with `:deep()` instead of `::v-deep` for Vue 3 projects? As stated in the following articles, the `:deep()` is currently...
Getting the following error installing the plugin: > TypeError: Failed to load plugin 'vue-scoped-css' declared in '.eslintrc.js': Class extends value undefined is not a constructor or null Here's my eslintrc.js...
Using [Array-Syntax](https://vuejs.org/v2/guide/class-and-style.html#Array-Syntax) with an inline `if` breaks reporting of `no-unused-selector`. Doing the same with Object-Syntax works fine. I added two testcases for demonstration (https://github.com/lukashass/eslint-plugin-vue-scoped-css/commit/f0bff82d100b2c944dbdd2ceab4aa280825fdcf4): ```js // reports `.bar` as unused...
For example: ```vue button a { color: red; } ``` [`nuxt-link`](https://nuxtjs.org/api/components-nuxt-link/) is converted to `a` tag, but I get error: ```The selector `a` is unused```. Please support. Maybe something like...
```vue hello %title { font-size: 2rem; } .eng-title { @extend %title; } ``` I get: ```The selector `%title` is unused.```
Now `no-unused-keyframes` and `no-unused-selector` rules only work if scoped style. There are situations when without scoped style I would like to use this rules. But there is no such possibility....
`vue-scoped-css/no-unused-selector` rule has `ignoreBEMModifier` option Besides `BEM`, there are other ways to organize CSS code. For example [RSCCS](https://rscss.io), where the modifier is defined as in the following code. More details...
`postcss-styl` and `postcss-scss` dependencies could be moved to `peerDependencies`. It would significantly lessen the number of modules this package depends on, while also eliminating the deprecated `source-map-resolve` dependency that npm...
[](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [@typescript-eslint/eslint-plugin](https://typescript-eslint.io/packages/eslint-plugin) ([source](https://togithub.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/eslint-plugin)) | [`^6.0.0` -> `^7.0.0`](https://renovatebot.com/diffs/npm/@typescript-eslint%2feslint-plugin/6.0.0/7.7.1) |...