Skip to content

Commit 856a805

Browse files
committed
Merge branch '6.4' into 7.1
* 6.4: [AssetMapper] Add FAQ for code lint/format
2 parents 6715f1d + 601f578 commit 856a805

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

frontend/asset_mapper.rst

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -777,6 +777,13 @@ files) with component, as those must be used in a build system. See the
777777
`UX Vue.js Documentation`_ for more details about using with the AssetMapper
778778
component.
779779

780+
Can I Lint and Format My Code?
781+
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
782+
783+
Not with AssetMapper, but you can install `kocal/biome-js-bundle`_ in your project
784+
to lint and format your front-end assets. It's much faster than alternatives like
785+
Prettier and requires no configuration to handle your JavaScript, TypeScript and CSS files.
786+
780787
.. _asset-mapper-ts:
781788

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

0 commit comments

Comments
 (0)