--stdin-filename attribute is not used now
utrumo opened this issue · 9 comments
I have got an error: "[coc.nvim] stylelint: Undefined rule function-calc-no-invalid"
my eslint config like in this post
Can't help, don't know what's problem with your stylelint.
This is a link on repository with project example with configurated stylelint for lit-element and .vimrc config for last version of neovim.
Stylelint config are working (you can check it: 'npm run lint:css' or 'npx stylelint ./index.js').
In neovim i have got an error:
"[coc.nvim] stylelint: Undefined rule function-calc-no-invalid"
In previos version of coc-styleint this extension works well, after i adds "onLanguage:javascript" to package.json and "javascript" to selector array in index.ts
@chemzqm It seems to be ignoring my stylelint.config.js
too:
Here is my CocInfo
https://gist.github.com/cj/5de098e26485989b7bd15668d6457d9a
Please adds --stdin-filename to stylelint call for solve problem with stylelint and stylelint-processor-styled-components it use this attribute for ignoreFiles globs.
neoclide/coc.nvim#1200
iamcco/coc-diagnostic#8 (comment)
npm scripts for demonstration of problem
Can't help, it uses https://github.com/shinnn/stylelint-vscode/blob/master/index.js, but I don't know how to make -stdin-filename
work with it.
Im having the same issue - is there anything i need to do to fix the issue?
Just installed coc; I'm seeing the same error.
[coc.nvim] stylelint: Undefined rule function-calc-no-invalid
I was able to fix the error by removing this extension and installing coc-stylelintplus - https://github.com/bmatcuk/coc-stylelintplus
Need some rework.