diff --git a/README.md b/README.md index ca2a1142..1cbd31a9 100644 --- a/README.md +++ b/README.md @@ -91,7 +91,8 @@ It has been extracted as a separate project to make maintenance easier and enabl | rector | [Tool for instant code upgrades and refactoring](https://github.com/rectorphp/rector) | ✅ | ✅ | ✅ | | roave-backward-compatibility-check | [Tool to compare two revisions of a class API to check for BC breaks](https://github.com/Roave/BackwardCompatibilityCheck) | ✅ | ❌ | ❌ | | simple-phpunit | [Provides utilities to report legacy tests and usage of deprecated code](https://symfony.com/doc/current/components/phpunit_bridge.html) | ✅ | ✅ | ✅ | -| twig-lint | [Standalone twig linter](https://github.com/asm89/twig-lint) | ✅ | ✅ | ✅ | +| twig-lint | [Standalone cli twig 1.X linter](https://github.com/asm89/twig-lint) | ✅ | ✅ | ✅ | +| twig-linter | [Standalone cli twig 3.X linter](https://github.com/sserbin/twig-linter) | ✅ | ✅ | ✅ | | twigcs | [The missing checkstyle for twig!](https://github.com/friendsoftwig/twigcs) | ✅ | ✅ | ✅ | | yaml-lint | [Compact command line utility for checking YAML file syntax](https://github.com/j13k/yaml-lint) | ✅ | ✅ | ✅ | diff --git a/resources/linting.json b/resources/linting.json index 2b58255d..511fce68 100644 --- a/resources/linting.json +++ b/resources/linting.json @@ -28,7 +28,7 @@ }, { "name": "twig-lint", - "summary": "Standalone twig linter", + "summary": "Standalone cli twig 1.X linter", "website": "https://github.com/asm89/twig-lint", "command": { "phar-download": { @@ -52,6 +52,20 @@ }, "test": "yaml-lint --version", "tags": ["linting"] + }, + { + "name": "twig-linter", + "summary": "Standalone cli twig 3.X linter", + "website": "https://github.com/sserbin/twig-linter", + "command": { + "composer-bin-plugin": { + "package": "sserbin/twig-linter:@dev", + "namespace": "twig-linter", + "links": {"%target-dir%/twig-linter": "twig-linter"} + } + }, + "test": "twig-linter --help", + "tags": ["linting"] } ] }