summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorTom Carrick <tom@carrick.eu>2026-04-19 11:54:02 +0300
committerJacob Walls <jacobtylerwalls@gmail.com>2026-04-19 13:45:56 +0300
commit290fefe6f8e47c2f35a9d857749c1e5166d9288b (patch)
tree02c3eb6db726d78174d33c254fed0368facea572 /docs
parent3af5cb17b83eaaea6d4def494269694c009d89c5 (diff)
Fixed #35007 -- Replaced ESLint with Biome for JavaScript linting and formatting.
Diffstat (limited to 'docs')
-rw-r--r--docs/internals/contributing/writing-code/javascript.txt8
-rw-r--r--docs/spelling_wordlist1
2 files changed, 5 insertions, 4 deletions
diff --git a/docs/internals/contributing/writing-code/javascript.txt b/docs/internals/contributing/writing-code/javascript.txt
index b61fc009b7..484aa7f5b6 100644
--- a/docs/internals/contributing/writing-code/javascript.txt
+++ b/docs/internals/contributing/writing-code/javascript.txt
@@ -20,9 +20,9 @@ Code style
Different JavaScript files sometimes use a different code style. Please try
to conform to the code style of each file.
-* Use the `ESLint`_ code linter to check your code for bugs and style errors.
- ESLint will be run when you run the JavaScript tests. We also recommended
- installing a ESLint plugin in your text editor.
+* Use the `Biome`_ code linter to check your code for bugs and style errors.
+ Biome will be run by the pre-commit hooks. We also recommended installing
+ a Biome plugin in your text editor.
* Where possible, write code that will work even if the page structure is later
changed with JavaScript. For instance, when binding a click handler, use
@@ -117,8 +117,8 @@ Then run the tests with:
$ npm test
+.. _Biome: https://biomejs.dev/
.. _EditorConfig: https://editorconfig.org/
.. _Java: https://www.java.com
-.. _eslint: https://eslint.org/
.. _node.js: https://nodejs.org/
.. _qunit: https://qunitjs.com/
diff --git a/docs/spelling_wordlist b/docs/spelling_wordlist
index 46b7b21944..f963940184 100644
--- a/docs/spelling_wordlist
+++ b/docs/spelling_wordlist
@@ -52,6 +52,7 @@ benchmarking
Benoit
Berners
Biggs
+Biome
bitwise
Bjørn
blazingly