diff options
| author | Jignesh Kotadiya <32367660+jigneshkotadiya@users.noreply.github.com> | 2020-04-20 14:23:00 +0530 |
|---|---|---|
| committer | Mariusz Felisiak <felisiak.mariusz@gmail.com> | 2020-04-20 10:53:53 +0200 |
| commit | abe33c169520d5baa96cc9f6a5ea079fd58e9c38 (patch) | |
| tree | eb61e9b4026ac7d0b35fcf4225be68be465866f7 /docs/internals/contributing/writing-code | |
| parent | 192c1ec5ccd045bde674ed2e9a1a89b84c411cce (diff) | |
[3.0.x] Refs #22463 -- Replaced JSHint with ESLint in contributing docs.
Backport of 7b4bd2a82c4709a9078fed5c33fa94f208a8c41e from master
Diffstat (limited to 'docs/internals/contributing/writing-code')
| -rw-r--r-- | docs/internals/contributing/writing-code/javascript.txt | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/docs/internals/contributing/writing-code/javascript.txt b/docs/internals/contributing/writing-code/javascript.txt index b8ff4de210..09017af63a 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 `JSHint`_ code linter to check your code for bugs and style errors. - JSHint will be run when you run the JavaScript tests. We also recommended - installing a JSHint plugin in your text editor. +* 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. * 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 @@ -147,6 +147,6 @@ Then run the tests with: .. _Closure Compiler: https://developers.google.com/closure/compiler/ .. _EditorConfig: https://editorconfig.org/ .. _Java: https://www.java.com -.. _jshint: https://jshint.com/ +.. _eslint: https://eslint.org/ .. _node.js: https://nodejs.org/ .. _qunit: https://qunitjs.com/ |
