Skip to content
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

[Bug]: (node:25356) [stylelint:002] DeprecationWarning: The CommonJS Node.js API is deprecated. See https://stylelint.io/migration-guide/to-16 #578

Open
1 task done
JusticHentai opened this issue Aug 15, 2024 · 4 comments

Comments

@JusticHentai
Copy link

How did you encounter this bug?

use stylelint@16.8.1

Link to Minimal Reproducible Example

https://github.com/JusticHentai/lint

Code Snippet

No response

Stylelint Configuration

No response

Extension Configuration

No response

Actual Behaviour

[Error - 16:44:43] (node:25356) [stylelint:002] DeprecationWarning: The CommonJS Node.js API is deprecated.
See https://stylelint.io/migration-guide/to-16
[Error - 16:44:43] (node:25356) [stylelint:003] DeprecationWarning: output is deprecated.
Use report or code instead.

Expected Behaviour

support stylelint esm

Logs

No response

Stylelint Version

16.8.1

vscode-stylelint Version

1.4.0

Node.js Version

18

Operating System

window11

Windows Subsystem for Linux

No response

Code of Conduct

  • I agree to follow vscode-stylelint's Code of Conduct
@opeologist
Copy link

also seeing this in VS Code Stylelint's output and is preventing the extension from providing feedback in my stylesheets

@Stanzilla
Copy link

Stanzilla commented Sep 25, 2024

See #540

Sadly, the official stylelint extension is not compatible with the latest version of stylelint.

@gian1200
Copy link

@Stanzilla the issue you referenced is this one. Was it a typo?

@Stanzilla
Copy link

yep, #540

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants