Masafumi Koba
Masafumi Koba
At this time, what is "a stricter parser"?
I also want to keep things simple. And, if the current `--fix` (lax) can produce invalid results, `--fix` should be strict. I think we should keep only `--fix` after making...
Please read https://github.com/stylelint/stylelint/issues/7497#issuecomment-2075257705 I think it's better to provide only `--fix` finally.
@romainmenke Thanks for the report. `ignoreSelectors` seemed to be added by PR #2874, quite a while ago (2017)! I'm honestly unsure about the background, but it seems a good opportunity...
I agree that we should correct the current weird behavior of `ignoreSelectors`. But as @Mouvedia is concerned, I think we should ensure the compatibility until the next major version, since...
Probably, I guess the following behavior would be correct: ⬇️ --- Given: ```json {"ignoreSelectors": [":global"]} ``` Then: ```css :global {} /* ignored */ :global(.foo) {} /* not ignored */ ```...
I agree with replacing `ignoreSelectors` with more specific options. 👍🏼 Perhaps, I assume that CSS Modules selectors like `:global` or `:local` might be used in most use cases of `ignoreSelectors`....
@sonikasharma1403 Thanks for the report. Can you provide a minimal reproducible repository so that we can investigate this problem?
https://github.com/stylelint/stylelint/issues/7547#issuecomment-1987657067 seems to have broken syntax highlighting. Can you repair it, please?
> ``` > npm run lint:scss -- --fix --skip-nx-cache > ``` @sonikasharma1403 How does the script above pass the `--fix` flag to the `stylelint` command?