[mod] theme/simple: improve fmt/lint tech

This is one of various PR to refactor the simple theme internally.

Replace eslint tool with Biome. I have been using this for quite some time, and
it will help us to have more consistent and valid code without extending on
other third party plugins.

Removes unused dependencies.
This commit is contained in:
Ivan Gabaldon 2025-06-28 09:55:15 +02:00 committed by Markus Heiser
parent 0cbb4f74cc
commit a947d5b3cf
13 changed files with 799 additions and 3672 deletions

View file

@ -6,8 +6,8 @@ Development Quickstart
.. _npm: https://www.npmjs.com/
.. _Node.js: https://nodejs.org/
.. _eslint: https://eslint.org/
.. _stylelint: https://stylelint.io/
.. _Biome: https://biomejs.dev/
.. _Stylelint: https://stylelint.io/
.. sidebar:: further read
@ -41,8 +41,8 @@ to our ":ref:`how to contribute`" guideline.
If you implement themes, you will need to setup a :ref:`Node.js environment
<make node.env>`. Before you call *make run* (2.), you need to compile the
modified styles and JavaScript: ``make node.clean themes.all``. If eslint_ or
stylelint_ report some issues, try ``make themes.fix``.
modified styles and JavaScript: ``make node.clean themes.all``. If Biome_
or Stylelint_ reports issues, try ``make themes.fix``.
Alternatively you can also compile selective the theme you have modified,
e.g. the *simple* theme.