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 today

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 43% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity18

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity48

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

1861d 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

[composer/satis

Simple Repository Generator

3.3k1.4M17](/packages/composer-satis)[roave/backward-compatibility-check

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

5953.3M56](/packages/roave-backward-compatibility-check)[magento/magento-composer-installer

Composer installer for Magento modules

7523.3M318](/packages/magento-magento-composer-installer)[larapack/hooks

A Laravel Hook system

2171.5M21](/packages/larapack-hooks)[ramsey/conventional-commits

A PHP library for creating and validating commit messages according to the Conventional Commits specification. Includes a CaptainHook action!

1931.2M121](/packages/ramsey-conventional-commits)[dominikb/composer-license-checker

Utility to check for licenses of dependencies and block/allow them.

563.8M9](/packages/dominikb-composer-license-checker)

PHPackages © 2026

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