Socket
Socket
Sign inDemoInstall

stylelint-config-recommended-vue

Package Overview
Dependencies
Maintainers
1
Versions
11
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

stylelint-config-recommended-vue

The recommended shareable Vue config for Stylelint.


Version published
Weekly downloads
263K
increased by1.87%
Maintainers
1
Weekly downloads
 
Created

What is stylelint-config-recommended-vue?

The stylelint-config-recommended-vue package provides a set of recommended rules for Stylelint to lint Vue.js single-file components (SFCs). It helps enforce consistent styling and best practices in Vue.js projects.

What are stylelint-config-recommended-vue's main functionalities?

Basic Linting for Vue SFCs

This configuration extends the recommended rules for linting Vue single-file components, ensuring that your styles adhere to best practices and common standards.

{"extends":["stylelint-config-recommended-vue"]}

Integration with Stylelint

You can integrate stylelint-config-recommended-vue with your project's Stylelint setup to lint all Vue files. This script will check all .vue files in your project for style issues.

{"scripts":{"lint:css":"stylelint '**/*.vue'"}}

Customizable Rules

You can customize the rules provided by stylelint-config-recommended-vue to fit your project's specific needs. This example shows how to enable additional rules like 'color-no-invalid-hex' and 'block-no-empty'.

{"extends":["stylelint-config-recommended-vue"],"rules":{"color-no-invalid-hex":true,"block-no-empty":true}}

Other packages similar to stylelint-config-recommended-vue

Keywords

FAQs

Package last updated on 10 Jul 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