🚀 Launch Week Day 5:Introducing Immutable Scans.Learn More
Socket
Book a DemoInstallSign in
Socket

@ptsecurity/stylelint-config

Package Overview
Dependencies
Maintainers
1
Versions
13
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@ptsecurity/stylelint-config

Positive Technologies stylelint config.

latest
npmnpm
Version
2.0.0
Version published
Maintainers
1
Created
Source

@ptsecurity/stylelint-config

package version badge

Подключение

  • Создайте в проекте конфигурационный файл - .stylelintrc.js

  • Укажите расширение конфигурации

module.exports = {
   extends: '@ptsecurity/stylelint-config'
}

Настройка IDE

Конфигурация stylelint содержит stylelint-prettier plugin. Поэтому, для автоматического форматирования файлов стилей, а так же для сортировки свойств стилей, в IDE нужно активировать prettier для файлов стилей.

Prettier: Run for files: {/,}.{scss,json}

[x] Fix on Save

Конфигурации

ConfigurationsVersionLoading condition(s)
stylelint-config-prettierstylelint-config-prettier version badgeprettier as dependency
stylelint-config-standardstylelint-config-prettier version badgeNO sass as dependency

Плагины

PluginVersionLoading condition(s)
stylelint-scssstylelint-scss version badgesass as dependency

Ресурсы

Keywords

stylelint

FAQs

Package last updated on 07 Jul 2022

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