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

@aerian/stylelint-config-base

Package Overview
Dependencies
Maintainers
4
Versions
8
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@aerian/stylelint-config-base

Aerian's CSS config

  • 13.2.0
  • latest
  • npm
  • Socket score

Version published
Maintainers
4
Created
Source

@aerian/stylelint-config-base

This is a sharable Stylelint config to compliment the eslint configs at https://github.com/aerian-studios/eslint-config.

To install, run:

#npm
npm i -D stylelint @aerian/stylelint-config-base

#yarn
yarn add -D  stylelint @aerian/stylelint-config-base

To use it, create the following .stylelintrc.json:

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

Also add this to your eslint config

{
    "extends": ["stylelint"]
}

There are many rules that can be auto-fixed using stylelint . --fix either in the command line or in a package.json.

Editor integration

There are various editor integrations. Remember that some integrations need a little setup. For vscode, add this to your workspace settings to stop conflicting rules:

{
    "css.validate": false,
    "less.validate": false,
    "scss.validate": false
}

FAQs

Package last updated on 19 Aug 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

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