Socket
Book a DemoInstallSign in
Socket

@edenspiekermann/stylelint-config

Package Overview
Dependencies
Maintainers
4
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@edenspiekermann/stylelint-config

A shareable stylelint config for ESPI projects

1.0.2
latest
Source
npmnpm
Version published
Weekly downloads
0
-100%
Maintainers
4
Weekly downloads
 
Created
Source

Edenspiekermann STYLELINT Configuration

This repository contains the STYLELINT configuration for projects at Edenspiekermann.

Installation

Install this package, and save it as a devDependency:

yarn add @edenspiekermann/stylelint-config --dev

Then have your project's .stylelintrc file extend the ruleset.

{
  "extends": ["@edenspiekermann/stylelint-config"]
}

Core rules

Using "extends": ["@edenspiekermann/stylelint-config"] is a short hand for "extends": ["@edenspiekermann/stylelint-config/rules/core"]. The core rules use extend the stylelint-config-standard configuration. It contains all rulesets for a frameworkless / vanilla css validation. On top of that its possible to extend these rules with some more specific configurations (see the following).

BEM

Add this configuration if you want to use stylelint with the rules of BEM.

{
  "extends": [
    "@edenspiekermann/stylelint-config",
    "@edenspiekermann/stylelint-config/rules/bem"
  ]
}

SASS

Add this configuration if you want to use stylelint with the rules of SASS.

{
  "extends": [
    "@edenspiekermann/stylelint-config",
    "@edenspiekermann/stylelint-config/rules/sass"
  ]
}

Styled components

Add this configuration if you want to use stylelint with the rules of styled components.

{
  "extends": [
    "@edenspiekermann/stylelint-config",
    "@edenspiekermann/stylelint-config/rules/styled-components"
  ]
}

Tailwind

Add this configuration if you want to use stylelint with the rules of tailwind.

{
  "extends": [
    "@edenspiekermann/stylelint-config",
    "@edenspiekermann/stylelint-config/rules/tailwind"
  ]
}

License

The MIT License (MIT). Please see License File for more information.

Keywords

stylelint

FAQs

Package last updated on 14 Apr 2021

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

About

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.

  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc

U.S. Patent No. 12,346,443 & 12,314,394. Other pending.