Comments (1)
Sounds like prettier and order/properties-order have conflicting opinions on what your output should be. I guess prettier wants no spaces between properties but you've configured a few emptyLineBefore: "always",
settings. Try removing those.
If you really want those blank lines then you probably don't want this plugin (which runs prettier formatting as part of stylelint), instead you'll want to run your stylesheets through prettier, and then through stylelint in a two step process.
Closing this issue as this project deliberately has no opinions on how to format your code other than "do what prettier does" or if you really want to diverge from prettier then "run your files through prettier then through stylelint")
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
- 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.