Masafumi Koba
Masafumi Koba
Adding a global config for imports and adding *roots* to a rule context sounds good. 👍🏼
Sounds good. A PoC will help us understand what we actually need. :+1:
I'm revisiting this old issue, but still valid. I'll address it according to the suggestion on .
@mattxwang Sounds like a nice idea to create a package `stylelint-create` (or `@stylelint/create`?) for `npm-init`. At a glance, we may be able to implement the feature in a new repository....
We have already shipped [create-stylelint](https://www.npmjs.com/package/create-stylelint)! Thank you so much @mattxwang!
@mattxwang Please feel free to open a feature request issue on the [stylelint/create-stylelint](https://github.com/stylelint/create-stylelint/issues/new/choose) repository if you are interested. > * using with prettier (though, my understanding with v15 is that...
I'm closing this issue since this error doesn't likely happen. For example, look at [this demo](https://stylelint.io/demo/#N4Igxg9gJgpiBcID0AqABAZwC4E8A2MeAlgHZYC0URGAhgEYFopIA6JAJCTQG7kAWMIgHM+WeGgBsABgAOADwDcbNgDo+NALZ0ArgCchMXeUhkapQ2mBs0acuRk0D-QSLFoAjFNmLraDTX1ScgIAMzcAFm8lEhsBYVFxMBo8MAAKbgDUuwcnONcASlsPL24+NABqNABiYE4eZ3isAF986JsZCFIsQ3IYbhgyDHESCBIYaKa2EAAaEBCiAgA5TThEGDlNGQIVDDAMDBnwUfmhBBArGLQWEHXukigMa-EAbV8ba+x8Qi7jY+FybA0e4BKAAvaPEC+AC6bCahxMJwAYhBdP4sGcAFYYUaHWAyA6IC7vECfAjEMhPK4gPA0brYa7TXwfXBkn4I-6A4G6UG7faU640ulYa6wkBNIA). Please reopen it if you still have a problem.
I'm revisiting this issue and investigating `postcss-nesting` and `postcss-nested`. In short, using these packages instead of `postcss-resolve-nested-selector` seems difficult because they're a PostCSS plugin and are not a utility to...
Ah, no, we don't want such a `:is()` optimization here. Instead of `postcss-resolve-nested-selector`, we want a utility to resolve nested selectors and follow the CSS Nesting spec. `postcss-resolve-nested-selector` still works...
For example, in the `selector-class-pattern` code: https://github.com/stylelint/stylelint/blob/eebb78694ee87e76245414108b0ae2626c78729f/lib/rules/selector-class-pattern/index.mjs#L64-L70 This rule resolves a nested selector as follows, so the `:is()` transformation is unnecessary here to check if the given pattern matches the...