Giter VIP home page Giter VIP logo

Comments (13)

Yueyanc avatar Yueyanc commented on June 16, 2024

insertSpaces,tabSize,insertFinalNewline,trimTrailingWhitespace,These configurations cause the auto fix to fail

from vscode-stylelint.

Yueyanc avatar Yueyanc commented on June 16, 2024

Snipaste_2023-12-07_23-26-40

from vscode-stylelint.

Yueyanc avatar Yueyanc commented on June 16, 2024

image

this config will resolve the problem

from vscode-stylelint.

Yueyanc avatar Yueyanc commented on June 16, 2024

#431

from vscode-stylelint.

StfBauer avatar StfBauer commented on June 16, 2024

I think I have the same issue - I try to use the following configurations https://gist.github.com/StfBauer/e33f5dda5545b9adafb030992df42a9e

While this perfectly works from the command line, VS Code does nothing. The question is, do I do something wrong, or is it a general issue?

Meanwhile, the only option I have is to execute stylelint from the terminal window, which is also fine for me for now.

from vscode-stylelint.

Yueyanc avatar Yueyanc commented on June 16, 2024

I think I have the same issue - I try to use the following configurations https://gist.github.com/StfBauer/e33f5dda5545b9adafb030992df42a9e

While this perfectly works from the command line, VS Code does nothing. The question is, do I do something wrong, or is it a general issue?

Meanwhile, the only option I have is to execute stylelint from the terminal window, which is also fine for me for now.

You should check here for any errors
@StfBauer
image

from vscode-stylelint.

StfBauer avatar StfBauer commented on June 16, 2024

@chenzhuo198 same as you.

image

from vscode-stylelint.

Yueyanc avatar Yueyanc commented on June 16, 2024

@chenzhuo198 same as you.

image

@StfBauer
then check if your vscode setting.json has insertSpaces,tabSize,insertFinalNewline,trimTrailingWhitespace,Comment it out

image

from vscode-stylelint.

StfBauer avatar StfBauer commented on June 16, 2024

@chenzhuo198 None of such things - just checked the user settings not the default vscode settings.

btw. first image not loading for me.

from vscode-stylelint.

Yueyanc avatar Yueyanc commented on June 16, 2024

@chenzhuo198 None of such things - just checked the user settings not the default vscode settings.

btw. first image not loading for me.

the first image is your reply image ,dont master;

image

try add editor.codeActionsOnSave:{ source.fixAll:ture} in vscode setting file

from vscode-stylelint.

StfBauer avatar StfBauer commented on June 16, 2024

Both haven't worked:
Screenshot 2024-01-16 at 14 50 47

or
Screenshot 2024-01-16 at 14 50 35

from vscode-stylelint.

Yueyanc avatar Yueyanc commented on June 16, 2024

Both haven't worked: Screenshot 2024-01-16 at 14 50 47

or Screenshot 2024-01-16 at 14 50 35

And then try to source. FixAll. Styleint: true and source fixAll. Eslint: true and, if not work, I didn't also the way

from vscode-stylelint.

StfBauer avatar StfBauer commented on June 16, 2024

Nope, haven't worked either.

from vscode-stylelint.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.