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

stylelint-config-prettier

Package Overview
Dependencies
Maintainers
1
Versions
27
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

stylelint-config-prettier

Turns off all rules that are unnecessary or might conflict with Prettier.

  • 9.0.5
  • latest
  • Source
  • npm
  • Socket score

Version published
Maintainers
1
Created

What is stylelint-config-prettier?

The stylelint-config-prettier package is a configuration for Stylelint that disables all rules that are unnecessary or might conflict with Prettier. This allows you to use Stylelint for CSS linting and Prettier for code formatting without conflicts.

What are stylelint-config-prettier's main functionalities?

Disabling conflicting rules

By extending 'stylelint-config-prettier' in your Stylelint configuration, you disable all rules that might conflict with Prettier. This ensures that Prettier can handle code formatting while Stylelint focuses on linting.

{
  "extends": [
    "stylelint-config-prettier"
  ]
}

Combining with other configurations

You can combine 'stylelint-config-prettier' with other Stylelint configurations like 'stylelint-config-standard'. This allows you to use a standard set of linting rules while still avoiding conflicts with Prettier.

{
  "extends": [
    "stylelint-config-standard",
    "stylelint-config-prettier"
  ]
}

Other packages similar to stylelint-config-prettier

Keywords

FAQs

Package last updated on 10 Feb 2023

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

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