Tinkerwell 4 is out now! Get the most popular PHP Scratchpad application. Tinkerwell 4 is out now: Get the most popular PHP Scratchpad with Detail Dive, AI code generation and more. Learn more
A set of linting rules is called a style. The Laravel Prose Linter comes pre-defined with two styles: WriteGood and the default Vale style.
You can customize the styles by publishing the package config as described in Installation and have a look at the config/linter.php
file:
/*
* Customize the Vale styles used by the linter.
*/
return [
'styles' => [
\Beyondcode\LaravelProseLinter\Styles\WriteGood::class,
\Beyondcode\LaravelProseLinter\Styles\Vale::class
]
];
There has to be at least one style applied for the linter to work. When you use multiple styles, please consider that some of the linting rules can conflict with each other.
Kickstart your Laravel Websockets project with this in-depth video course – sign up to our newsletter and get a notification when it launches.