Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

stylelint-prettier

Package Overview
Dependencies
Maintainers
0
Versions
25
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

stylelint-prettier - npm Package Compare versions

Comparing version 5.0.0 to 5.0.1

4

CHANGELOG.md
# Changelog
## 5.0.1 (2024-07-13)
Fix case where when autofixing multiple other rules in addition to prettier, the other autofixes would be thrown away (#360)
## 5.0.0 (2023-12-10)

@@ -4,0 +8,0 @@

4

index.js

@@ -46,3 +46,2 @@ import stylelint from 'stylelint';

const filepath = root.source.input.file || '<input>';
const source = root.source.input.css;

@@ -111,2 +110,3 @@ const prettierRcOptions = await prettier.resolveConfig(filepath, {

const source = root.toString();
try {

@@ -187,3 +187,3 @@ prettierSource = await prettier.format(source, prettierOptions);

);
}, root.source.input.css);
}, source);

@@ -190,0 +190,0 @@ // If root.source.syntax exists then it means stylelint had to use

{
"name": "stylelint-prettier",
"version": "5.0.0",
"version": "5.0.1",
"description": "Runs prettier as an stylelint rule",

@@ -56,3 +56,2 @@ "keywords": [

"prettier-plugin-svelte": "^3.0.0",
"strip-ansi": "^7.1.0",
"stylelint": "^16.0.1",

@@ -59,0 +58,0 @@ "stylelint-test-rule-node": "^0.2.0",

@@ -82,3 +82,3 @@ # stylelint-prettier [![Build Status](https://github.com/prettier/stylelint-prettier/workflows/CI/badge.svg?branch=main)](https://github.com/prettier/stylelint-prettier/actions?query=workflow%3ACI+branch%3Amain)

"extends": [
"stylelint-prettier/recommended"
"stylelint-prettier/recommended",
"stylelint-config-prettier"

@@ -85,0 +85,0 @@ ]

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc