Bug 1620635 - static analysis, linting and coding style - add link to meta bugs r=static-analysis-reviewers,Ehsan

Differential Revision: https://phabricator.services.mozilla.com/D65761

--HG--
extra : moz-landing-system : lando
This commit is contained in:
Sylvestre Ledru 2020-03-06 21:01:22 +00:00
parent f46e46f7fa
commit 93ef1bd928

View file

@ -15,134 +15,159 @@ In this document, we try to list these all tools.
coding-style/index.rst coding-style/index.rst
.. list-table:: C/C++ .. list-table:: C/C++
:widths: 25 25 25 20
:header-rows: 1 :header-rows: 1
:widths: 20 20 20 20 20
* - Tools * - Tools
- Has autofixes - Has autofixes
- Meta bug
- More info - More info
- Upstream - Upstream
* - Custom clang checker * - Custom clang checker
-
- -
- `Source <https://searchfox.org/mozilla-central/source/build/clang-plugin>`_ - `Source <https://searchfox.org/mozilla-central/source/build/clang-plugin>`_
- -
* - Clang-Tidy * - Clang-Tidy
- Yes - Yes
- `bug 712350 <https://bugzilla.mozilla.org/show_bug.cgi?id=712350>`_
- :ref:`Static analysis <Mach static analysis>` - :ref:`Static analysis <Mach static analysis>`
- https://clang.llvm.org/extra/clang-tidy/checks/list.html - https://clang.llvm.org/extra/clang-tidy/checks/list.html
* - Clang analyzer * - Clang analyzer
- -
- `bug 712350 <https://bugzilla.mozilla.org/show_bug.cgi?id=712350>`_
- -
- https://clang-analyzer.llvm.org/ - https://clang-analyzer.llvm.org/
* - Coverity * - Coverity
- -
- `bug 1230156 <https://bugzilla.mozilla.org/show_bug.cgi?id=1230156>`_
- -
- -
* - cpp virtual final * - cpp virtual final
-
- -
- :ref:`cpp virtual final` - :ref:`cpp virtual final`
- -
* - Semmle/LGTM * - Semmle/LGTM
- -
- `bug 1458117 <https://bugzilla.mozilla.org/show_bug.cgi?id=1458117>`_
- -
- -
* - clang-format * - clang-format
- Yes - Yes
- `bug 1188202 <https://bugzilla.mozilla.org/show_bug.cgi?id=1188202>`_
- :ref:`Formatting C++ Code With clang-format` - :ref:`Formatting C++ Code With clang-format`
- https://clang.llvm.org/docs/ClangFormat.html - https://clang.llvm.org/docs/ClangFormat.html
.. list-table:: JavaScript .. list-table:: JavaScript
:widths: 25 25 25 25 :widths: 20 20 20 20 20
:header-rows: 1 :header-rows: 1
* - Tools * - Tools
- Has autofixes - Has autofixes
- Meta bug
- More info - More info
- Upstream - Upstream
* - Eslint * - Eslint
- Yes - Yes
- `bug 1229856 <https://bugzilla.mozilla.org/show_bug.cgi?id=1229856>`_
- :ref:`ESLint` - :ref:`ESLint`
- https://eslint.org/ - https://eslint.org/
* - Mozilla ESLint * - Mozilla ESLint
- -
- `bug 1229856 <https://bugzilla.mozilla.org/show_bug.cgi?id=1229856>`_
- :ref:`Mozilla ESLint Plugin` - :ref:`Mozilla ESLint Plugin`
- -
* - Prettier * - Prettier
- Yes - Yes
- `bug 1558517 <https://bugzilla.mozilla.org/show_bug.cgi?id=1558517>`_
- :ref:`JavaScript Coding style` - :ref:`JavaScript Coding style`
- https://prettier.io/ - https://prettier.io/
.. list-table:: Python .. list-table:: Python
:widths: 25 25 25 25 :widths: 20 20 20 20 20
:header-rows: 1 :header-rows: 1
* - Tools * - Tools
- Has autofixes - Has autofixes
- Meta bug
- More info - More info
- Upstream - Upstream
* - Flake8 * - Flake8
- Yes (with `autopep8 <https://github.com/hhatto/autopep8>`_) - Yes (with `autopep8 <https://github.com/hhatto/autopep8>`_)
- `bug 1155970 <https://bugzilla.mozilla.org/show_bug.cgi?id=1155970>`_
- :ref:`Flake8` - :ref:`Flake8`
- http://flake8.pycqa.org/ - http://flake8.pycqa.org/
* - Python 2/3 compatibility check * - Python 2/3 compatibility check
- -
- `bug 1496527 <https://bugzilla.mozilla.org/show_bug.cgi?id=1496527>`_
- :ref:`Python 2/3 compatibility check` - :ref:`Python 2/3 compatibility check`
- -
.. list-table:: Rust .. list-table:: Rust
:widths: 25 25 25 25 :widths: 20 20 20 20 20
:header-rows: 1 :header-rows: 1
* - Tools * - Tools
- Has autofixes - Has autofixes
- Meta bug
- More info - More info
- Upstream - Upstream
* - Rustfmt * - Rustfmt
- Yes - Yes
- `bug 1454764 <https://bugzilla.mozilla.org/show_bug.cgi?id=1454764>`_
- :ref:`Rustfmt` - :ref:`Rustfmt`
- https://github.com/rust-lang/rustfmt - https://github.com/rust-lang/rustfmt
* - Clippy * - Clippy
- -
- `bug 1361342 <https://bugzilla.mozilla.org/show_bug.cgi?id=1361342>`_
- :ref:`clippy` - :ref:`clippy`
- https://github.com/rust-lang/rust-clippy - https://github.com/rust-lang/rust-clippy
.. list-table:: Java .. list-table:: Java
:widths: 25 25 25 25 :widths: 20 20 20 20 20
:header-rows: 1 :header-rows: 1
* - Tools * - Tools
- Has autofixes - Has autofixes
- Meta bug
- More info - More info
- Upstream - Upstream
* - Infer * - Infer
- -
- `bug 1175203 <https://bugzilla.mozilla.org/show_bug.cgi?id=1175203`_
- -
- https://github.com/facebook/infer - https://github.com/facebook/infer
.. list-table:: Others .. list-table:: Others
:widths: 25 25 25 25 :widths: 20 20 20 20 20
:header-rows: 1 :header-rows: 1
* - Tools * - Tools
- Has autofixes - Has autofixes
- Meta bug
- More info - More info
- Upstream - Upstream
* - shellcheck * - shellcheck
-
- -
- -
- https://www.shellcheck.net/ - https://www.shellcheck.net/
* - rstchecker * - rstchecker
-
- -
- :ref:`RST Linter` - :ref:`RST Linter`
- https://github.com/myint/rstcheck - https://github.com/myint/rstcheck
* - Typo detection * - Typo detection
- Yes - Yes
-
- :ref:`Codespell` - :ref:`Codespell`
- https://github.com/codespell-project/codespell - https://github.com/codespell-project/codespell
* - YAML linter * - YAML linter
-
- -
- -
- https://github.com/adrienverge/yamllint - https://github.com/adrienverge/yamllint