You're Invited:Meet the Socket Team at BlackHat and DEF CON in Las Vegas, Aug 4-6.RSVP
Socket
Book a DemoInstallSign in
Socket

@1password/stylelint-config

Package Overview
Dependencies
Maintainers
0
Versions
9
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@1password/stylelint-config

1Password’s shared Stylelint configuration.

2.0.0
latest
npmnpm
Version published
Weekly downloads
1.5K
-8.03%
Maintainers
0
Weekly downloads
 
Created
Source

@1password/stylelint

Shared stylelint configuration

Installation

pnpm add --save-dev @1password/stylelint-config stylelint@16.2.1 stylelint-config-standard@36.0.1
npm install --save-dev @1password/stylelint-config stylelint@16.2.1 stylelint-config-standard@36.0.1
yarn add --dev @1password/stylelint-config stylelint@16.2.1 stylelint-config-standard@36.0.1

Usage

For projects using CSS only:

Add to your package.json file:

"stylelint": {
  "extends": "@1password/stylelint-config"
}

For projects using SCSS:

First, install the additional peer dependencies:

pnpm add --save-dev postcss-scss stylelint-scss
npm install --save-dev postcss-scss stylelint-scss

```sh
yarn add --dev postcss-scss stylelint-scss

Add to your package.json file:

"stylelint": {
  "extends": "@1password/stylelint-config/scss"
}

IDE Extensions

You should also install the related IDE extensions so you can see issues (and sometimes get them auto-fixed) as you code.

  • Stylelint
    • https://marketplace.visualstudio.com/items?itemName=stylelint.vscode-stylelint
    • https://atom.io/packages/linter-stylelint

Keywords

stylelint

FAQs

Package last updated on 09 Oct 2024

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