PHPackages                             adrifkat/grumphp-stylelint-task - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Utility &amp; Helpers](/categories/utility)
4. /
5. adrifkat/grumphp-stylelint-task

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

adrifkat/grumphp-stylelint-task
===============================

GrumPHP stylelint task

1.0.1(5y ago)31.2kMITPHPPHP &gt;=7.0

Since Apr 5Pushed 5y ago1 watchersCompare

[ Source](https://github.com/adrifkat/grumphp-stylelint-task)[ Packagist](https://packagist.org/packages/adrifkat/grumphp-stylelint-task)[ RSS](/packages/adrifkat-grumphp-stylelint-task/feed)WikiDiscussions master Synced 3w ago

READMEChangelog (2)Dependencies (2)Versions (3)Used By (0)

grumphp-stylelint-task
======================

[](#grumphp-stylelint-task)

Installation
------------

[](#installation)

[Stylelint](https://stylelint.io/) is a static analysis tool for styles. A mighty, modern linter that helps you avoid errors and enforce conventions in your styles.

```
composer require --dev adrifkat/grumphp-stylelint-task
```

npm
---

[](#npm)

1\. Use [npm](https://docs.npmjs.com/about-npm/) to install stylelint and its [`standard configuration`](https://github.com/stylelint/stylelint-config-standard):

```
npm install --save-dev stylelint stylelint-config-standard
```

2\. Create a `.stylelintrc.json` configuration file in the root of your project:

```
{
  "extends": "stylelint-config-standard"
}
```

Config
------

[](#config)

It lives under the `stylelint` namespace and has the following configurable parameters:

```
# grumphp.yml
grumphp:
    tasks:
        stylelint:
            triggered_by: [css, scss, less]
            whitelist_patterns:
                - /^resources\/css\/(.*)/
            config: .stylelintrc.json
            max-warnings: 5
            quiet: false

services:
  Adrifkat\GrumPHPStylelint\StylelintTask:
    arguments:
      - '@process_builder'
      - '@formatter.raw_process'
    tags:
      - { name: grumphp.task, task: stylelint }
```

**triggered\_by**

*Default: \[less, sass, scss, css\]*

This is a list of extensions which will trigger the Stylelint task.

**whitelist\_patterns**

*Default: \[\]*

This is a list of regex patterns that will filter files to validate. With this option you can specify the folders containing style files and thus skip folders like the /vendor/ directory. This option is used in conjunction with the parameter `triggered_by`. For example: to whitelist files in `resources/css/` (Laravel's CSS directory) you can use:

```
whitelist_patterns:
  - /^resources\/css\/(.*)/
```

**config**

*Default: null*

Path to a JSON, YAML, or JS file that contains your configuration object. Not necessary if using a standard stylelintrc name, eg. .stylelintrc.json

**max-warnings**

*Default: null*

Set a limit to the number of warnings accepted. ([stylelint.io](https://stylelint.io/user-guide/usage/cli#--max-warnings---mw)).

**quiet**

*Default: null*

Only register violations for rules with an "error"-level severity (ignore "warning"-level). ([stylelint.io](https://stylelint.io/user-guide/usage/cli#--quiet--q))

###  Health Score

26

—

LowBetter than 41% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity18

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity49

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~0 days

Total

2

Last Release

1914d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/e9c9ec1a299dbec12e92dfcb759104b458050ae262a11b9d963521d55c9bc8af?d=identicon)[adrifkat](/maintainers/adrifkat)

---

Top Contributors

[![adrifkat](https://avatars.githubusercontent.com/u/30600227?v=4)](https://github.com/adrifkat "adrifkat (2 commits)")

---

Tags

grumphpgrumphp-stylelintgrumphp-taskstylelintstylelint-task

### Embed Badge

![Health badge](/badges/adrifkat-grumphp-stylelint-task/health.svg)

```
[![Health](https://phpackages.com/badges/adrifkat-grumphp-stylelint-task/health.svg)](https://phpackages.com/packages/adrifkat-grumphp-stylelint-task)
```

###  Alternatives

[roave/backward-compatibility-check

Tool to compare two revisions of a public API to check for BC breaks

6003.7M96](/packages/roave-backward-compatibility-check)[brianhenryie/strauss

Prefixes dependencies namespaces so they are unique to your plugin

190438.1k35](/packages/brianhenryie-strauss)[october/rain

October Rain Library

1601.7M82](/packages/october-rain)[shopware/core

Shopware platform is the core for all Shopware ecommerce products.

585.6M568](/packages/shopware-core)[magento/composer

Magento composer library helps to instantiate Composer application and run composer commands.

337.9M12](/packages/magento-composer)[ec-europa/toolkit

Toolkit packaged for Drupal projects based on Robo.

40252.8k34](/packages/ec-europa-toolkit)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
