-
Notifications
You must be signed in to change notification settings - Fork 6
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
Not working coc-stylelintplus in neovim #37
Comments
See #35, as this issue has already been reported there. |
The issue is created by returned |
Thank you for your reply. Can you tell me how this can be fixed? |
@mr-scrpt, you can localy (~/.config/coc/extensions/node_modules/coc-stylelintplus) remove "stylelintplus.config": {
"description": "Stylelint config. If config and configFile are unset, stylelint will automatically look for a config file.",
"scope": "resource",
"type": "object"
}, from |
@mr-scrpt This was a big clue, but unfortunately does not work b/c it does not result in an I think this bug actually lives (and was introduced) inside the I found no way in I ended up digging into my local Added this mutation to the const promise = this.connection.workspace
.getConfiguration({ scopeUri: uri, section: "" })
.then((settings) => {
// NOTE: Make sure config props not defined.
settings.stylelintplus.config = undefined;
settings.stylelintplus.configOverrides = undefined;
console.log('---', settings.stylelintplus);
const stylelint = this.resolveStylelint(uri);
... Hope this helps y'all. And if anyone can help getting this fixed up in stylelint-lsp, that would probably be good. |
@dannobytes thanks, works for me |
Hi all. My coc-stylelintplus is not working.Please help me find the cause
Here are my configs:
coc-settings.json
coc.lua
Here are the project configurations:
packege.json
stylelintrc.json
When I run npx stylelint ./src/style/base/button.scss
Validation works correctly
If I open the project in VSCode, it also works correctly
But nvim does not show errors
If I run :CocList extensions , I see that coc-stylelintplus is enabled
But if I try to access a command with stylelintplus, I only see one command in the tooltip, but there should be more as I understand it
If I enter the command :CocCommand workspace.showOutput and select stylelintplus in the list, I get a configuration error.
I think stylelintplus can't see my .stylelintrc.json file. Although this file is in the root of my project
The text was updated successfully, but these errors were encountered: