New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@mooore/stylelint-config

Package Overview
Dependencies
Maintainers
2
Versions
16
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@mooore/stylelint-config

A shareable stylelint config object that enforces Mooore css rules

  • 2.2.0
  • latest
  • Source
  • npm
  • Socket score

Version published
Maintainers
2
Created
Source

Mooore stylelint-config

NPM version

A sharable stylelint config object that enforces Mooore Digital css rules.

Installation

npm install @mooore/stylelint-config --save-dev

Usage

If you've installed @mooore/stylelint-config, just set your stylelint config to:

{
  "extends": "@mooore/stylelint-config"
}

Extending

Simply add a "rules" key to your config, then add your overrides and additions there.

{
  "extends": "@mooore/stylelint-config",
  "rules": {
    "rule-empty-line-before": [
        "always-multi-line", {
            "except": ["first-nested"],
            "ignore": ["after-comment"]
        }
    ],
  }
}

Extensions

We offer special rules for the following frameworks;

  • SCSS "@mooore/stylelint-config/scss",
  • Magento (LESS) "@mooore/stylelint-config/luma",
  • Magento (SCSS) "@mooore/stylelint-config/snowdog",
  • Magento (Hyva) "@mooore/stylelint-config/hyva",

Simply add the last part to your extends option, to use the specific rules.

Rules

The Mooore style-config is based on the @fylgja/stylelint-config And most rules are set there.

We only optimized it to match our Magento environments.

To checkout our rules see each config file.

License

MIT © Mooore Digital

Keywords

FAQs

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