Code Monkey home page Code Monkey logo

Comments (6)

seangwright avatar seangwright commented on June 1, 2024

I'm seeing the same thing in my templates:

"stylelint": "^13.2.1",
"stylelint-config-prettier": "^8.0.1",
"stylelint-config-standard": "^20.0.0",
"stylelint-prettier": "^1.1.2",
"stylelint-scss": "^3.15.0",
{
  "extends": ["stylelint-config-standard", "stylelint-prettier/recommended"],
  "plugins": [
    "stylelint-scss"
  ],
  "rules": { ... }
}

Annotation 2020-03-18 181544

I even have my .html files ignored by using both ignore files for Prettier and Stylelint:

*.html

from stylelint-prettier.

jinxinkai avatar jinxinkai commented on June 1, 2024

I'm seeing the same thing in my code:


from stylelint-prettier.

JounQin avatar JounQin commented on June 1, 2024

@BPScott Any time to see this problem?

from stylelint-prettier.

matusko89 avatar matusko89 commented on June 1, 2024

Same here

{
    "plugins": ["stylelint-prettier"],
    "extends": ["stylelint-prettier/recommended"],
    "rules": {
        "prettier/prettier": [true, {
            "singleQuote": false,
            "tabWidth": 4
        }]
    }
}

    "stylelint": "^13.8.0",
    "stylelint-config-prettier": "^8.0.2",
    "stylelint-prettier": "^1.1.2",

from stylelint-prettier.

JounQin avatar JounQin commented on June 1, 2024

For anyone may be interested, #156 should fix this issue, but @BPScott haven't come to review and publish it.

So I decide to publish a new package @rxts/[email protected] temporarily as a workaround, once that PR been merged and published, I will deprecate it.

Source code at https://github.com/rx-ts/stylelint-prettier/tree/parser

All you need to do is change stylelint-prettier/recommended to @rxts/stylelint-prettier/recommended.

from stylelint-prettier.

BPScott avatar BPScott commented on June 1, 2024

I've published stylelint-prettier v1.2.0 with support for .component.html files (which use a different parser than regular .html files, which is why I suspect you were seeing these issues as v1.1.0 ways already ignoring .html files) and .svelte files.

Please try out 1.2.0 and see if that fixes your issues

Thanks to @JounQin for his initial investigation into this.

from stylelint-prettier.

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.