Comments (6)
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": { ... }
}
I even have my .html
files ignored by using both ignore files for Prettier and Stylelint:
*.html
from stylelint-prettier.
I'm seeing the same thing in my code:
from stylelint-prettier.
@BPScott Any time to see this problem?
from stylelint-prettier.
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.
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.
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)
- Long declaration not correctly formated HOT 1
- All fixture tests are ignored by prettier itself actually
- stylelint: Could not find "stylelint-config-prettier". Do you need a `configBasedir`? HOT 4
- Stylelint V3 requires plugin to expose it's self. The plugin is not doing this. HOT 3
- Seeing a lot of "Insert line break" errors HOT 1
- I've this issue `188:3 โ Insert "ยทยท" prettier/prettier` with `--fix` flag, but no error without `--fix` flag HOT 3
- perf: recommend disable the rule for files which have already handled by `esling-plugin-prettier`
- Can't lint or format svelte files at all HOT 1
- Prettier changing imports breaks build HOT 1
- After stylelint 15, stylelint-config-prettier should be remove. HOT 1
- Delete "โ" (prettier/prettier) HOT 2
- Support prettier v3 HOT 7
- 4.0.1 causes crash if a .prettierrc.js file is not present HOT 1
- Ignored vue file style block? HOT 3
- Attempting to install `stylelint-config-prettier` results in NPM error HOT 1
- `Parsing error: Unexpected token` when used with `stylelint-config-html` HOT 1
- Unknown rule prettier/prettier HOT 1
- Require ES module HOT 1
- stylelint-prettier doesn't fix problems at the same time as removing empty extra lines HOT 1
- conflict with Stylelint: Expected empty line before at-rule (at-rule-empty-line-before) HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google โค๏ธ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from stylelint-prettier.