🚀 DAY 5 OF LAUNCH WEEK: Introducing Socket Firewall Enterprise.Learn more →
Socket
Book a DemoInstallSign in
Socket

@shopware-ag/admin-stylelint-rules

Package Overview
Dependencies
Maintainers
10
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@shopware-ag/admin-stylelint-rules

This package provides custom stylelint rules for Shopware Administration development.

latest
Source
npmnpm
Version
1.0.5
Version published
Maintainers
10
Created
Source

Stylelint Rules for Shopware Administration

This package provides custom stylelint rules for Shopware Administration development.

Installation

Install the package and its peer dependency stylelint:

npm install @shopware-ag/admin-stylelint-rules stylelint --save-dev

Usage

Add the plugin to your stylelint configuration file (e.g., .stylelintrc.json) and configure the rules you want to use.

{
  "plugins": [
    "@shopware-ag/admin-stylelint-rules"
  ],
  "rules": {
    "@shopware-ag/admin-stylelint-rules/wrong-scss-import": true
  }
}

Rules

@shopware-ag/admin-stylelint-rules/wrong-scss-import

This rule prevents the use of the .scss file extension in @import statements that start with ~scss. It encourages a consistent import style for shared SCSS resources.

This rule can automatically fix violations.

Example of incorrect code for this rule:

@import "~scss/variables.scss";
@import '~scss/mixins.scss';

Example of correct code for this rule:

@import "~scss/variables";
@import '~scss/mixins';

FAQs

Package last updated on 30 Sep 2025

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