Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[AssetMapper] Add FAQ for code lint/format #19893

Open
wants to merge 1 commit into
base: 6.4
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions frontend/asset_mapper.rst
Original file line number Diff line number Diff line change
Expand Up @@ -792,6 +792,12 @@ files) with component, as those must be used in a build system. See the
`UX Vue.js Documentation`_ for more details about using with the AssetMapper
component.

Can I lint and format my code?
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Yes! You can use `kocal/biome-js-bundle`_ to lint and format your front assets.
It's ultra-fast and requires no configuration to handle your JavaScript, TypeScript, CSS, etc. files.

.. _asset-mapper-ts:

Using TypeScript
Expand Down Expand Up @@ -1163,3 +1169,4 @@ command as part of your CI to be warned anytime a new vulnerability is found.
.. _`package.json configuration file`: https://docs.npmjs.com/creating-a-package-json-file
.. _Content Security Policy: https://developer.mozilla.org/en-US/docs/Web/HTTP/CSP
.. _NelmioSecurityBundle: https://symfony.com/bundles/NelmioSecurityBundle/current/index.html#nonce-for-inline-script-handling
.. _kocal/biome-js-bundle: https://github.com/Kocal/BiomeJsBundle
Loading