lintkit/editorconfig-config

Maintainers

👁 mikestreety

Package info

github.com/lintkit/editorconfig-config

pkg:composer/lintkit/editorconfig-config

Statistics

Installs: 6 572

Dependents: 7

Suggesters: 0

Stars: 0

Open Issues: 0

1.0.4 2025-12-02 14:44 UTC

Requires

Requires (Dev)

None

Suggests

None

Provides

None

Conflicts

None

Replaces

None

Apache-2.0 87df06e4b24a9f5f459dec1ba758702d2c3e9b74

  • Mike Street <mike.woop@liquidlight.co.uk>

This package is auto-updated.

Last update: 2026-05-30 15:47:24 UTC


README

Opinionated configuration for editor config

Usage

Install the dependency:

composer require --dev lintkit/editorconfig-config

Add the scripts:

"scripts": {
 "editorconfig:dry-run": "ec --finder-config vendor/lintkit/editorconfig-config/ec-cli-config.php",
 "editorconfig:fix": "@editorconfig:dry-run --fix",
},

Custom Overriding

It may be you wish to add and/or remove stuff from the default finder config, in which case, make a ec-cli-config.php in your project root with something like the following:

<?php

$finder = include 'vendor/lintkit/editorconfig-config/ec-cli-config.php';

$finder
 ->notPath('html/_assets')
;

return $finder;

Update your composer.json to use --finder-config ./ec-cli-config.php