{"repo":"tighten/tlint","free":true,"listed":false,"github":"https://github.com/tighten/tlint","clone":"git clone https://github.com/tighten/tlint.git","description":"Tighten linter for Laravel conventions.","language":"PHP","stars":526,"topics":["laravel","php","linter","conventions","code-style"],"license":"MIT","category":"dev-tools","readme_excerpt":"Install (Requires PHP 8.1+) Note TLint is intended to work with the tools included in Duster. To receive the best coverage we recommend using Duster to install and configure TLint. Upgrade Upgrading from 8.x to 9.x TLint 9 requires PHP = 8.1. tformat.json has been dropped in favor of a single tlint.json file. Now linting the following files and directories: - public/ - bootstrap/ - server.php - app/Http/Middleware/RedirectIfAuthenticated.php - Exceptions/Handler.php - app/Http/Controllers/Auth/ - app/Http/Kernel.php To continue excluding these files and directories add them to your tlint.json file under excluded . Upgrading from 7.x to 8.x A significant number of formatters were added between the 7.x and 8.x releases. If you want to roll these out gradually or disable them altogether, you can use the disabled setting in your tlint.json config. Upgrading from 6.x to 7.x TLint focuses on linting and formatting issues other tools are not able to catch. The 7.x release removes lints and formatters covered by tools in Duster. If you need to add these back you can grab them from an earlier version of TLint and follow the Custom Configuration documentation. What Is It? This is an opinionated code linter (with growing support for auto-formatting!) for Tighten flavored code conventions for Laravel and PHP. For example, Laravel has many available ways to pass variables from a controller to a view: A) B) C) In this case TLint will warn if you are not using the B) method. This example is","default_branch":null,"files":null,"tree":[],"storefront":"/r/tighten","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/tighten/tlint/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}