Skip to content

Commit

Permalink
Merge pull request #417 from jakzal/feature/twig-linter
Browse files Browse the repository at this point in the history
Feature/twig linter
  • Loading branch information
jakzal authored Jan 18, 2022
2 parents 50f7bb5 + b4cc47f commit 2b310bb
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 2 deletions.
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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) | ✅ | ✅ | ✅ |

Expand Down
16 changes: 15 additions & 1 deletion resources/linting.json
Original file line number Diff line number Diff line change
Expand Up @@ -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": {
Expand All @@ -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"]
}
]
}

0 comments on commit 2b310bb

Please sign in to comment.