16. Bootlint

The admin comes with Bootlint integration. Bootlint is an HTML linter for Bootstrap projects.

You should use it when you want add some contributions on Sonata UI to check the eventual Twitter Bootstrap conventions’ mistakes.

16.1. Enable Bootlint

To use Bootlint in your admin, you can enable it in your config file:

# config/packages/sonata_admin.yaml

        use_bootlint: true # enable Bootlint

Then open your browser debugger to look after some Bootlint warnings on console.

No warning? Congrats! Your page is fully Bootstrap compliant! ;)