Sylvestre Ledru
f9328d2021
Bug 1613526 - Create a code quality documentation and move the appropriate docs r=ahal
...
This for a few reasons:
* The summary becomes the landing page for code quality:
https://firefox-source-docs.mozilla.org/tools/static-analysis/summary.html
* I don't think we need a full code quality category
* Closer to the source-code-doc
* All the files at the same place
Differential Revision: https://phabricator.services.mozilla.com/D61767
--HG--
rename : tools/lint/docs/coding-style/coding_style_java.rst => docs/code-quality/coding-style/coding_style_java.rst
rename : tools/lint/docs/coding-style/coding_style_other.rst => docs/code-quality/coding-style/coding_style_other.rst
rename : tools/lint/docs/coding-style/coding_style_python.rst => docs/code-quality/coding-style/coding_style_python.rst
rename : tools/lint/docs/coding-style/format_cpp_code_with_clang-format.rst => docs/code-quality/coding-style/format_cpp_code_with_clang-format.rst
rename : tools/clang-tidy/docs/summary.rst => docs/code-quality/index.rst
rename : tools/lint/docs/create.rst => docs/code-quality/lint/create.rst
rename : tools/lint/docs/index.rst => docs/code-quality/lint/index.rst
rename : tools/lint/docs/index.rst => docs/code-quality/lint/lint.rst
rename : tools/lint/docs/linters/codespell.rst => docs/code-quality/lint/linters/codespell.rst
rename : tools/lint/docs/linters/cpp-virtual-final.rst => docs/code-quality/lint/linters/cpp-virtual-final.rst
rename : tools/lint/docs/linters/eslint-plugin-mozilla.rst => docs/code-quality/lint/linters/eslint-plugin-mozilla.rst
rename : tools/lint/docs/linters/eslint-plugin-spidermonkey-js.rst => docs/code-quality/lint/linters/eslint-plugin-spidermonkey-js.rst
rename : tools/lint/docs/linters/eslint.rst => docs/code-quality/lint/linters/eslint.rst
rename : tools/lint/docs/linters/file-perm.rst => docs/code-quality/lint/linters/file-perm.rst
rename : tools/lint/docs/linters/file-whitespace.rst => docs/code-quality/lint/linters/file-whitespace.rst
rename : tools/lint/docs/linters/flake8.rst => docs/code-quality/lint/linters/flake8.rst
rename : tools/lint/docs/linters/l10n.rst => docs/code-quality/lint/linters/l10n.rst
rename : tools/lint/docs/linters/license.rst => docs/code-quality/lint/linters/license.rst
rename : tools/lint/docs/linters/lintpref.rst => docs/code-quality/lint/linters/lintpref.rst
rename : tools/lint/docs/linters/mingw-capitalization.rst => docs/code-quality/lint/linters/mingw-capitalization.rst
rename : tools/lint/docs/linters/perfdocs.rst => docs/code-quality/lint/linters/perfdocs.rst
rename : tools/lint/docs/linters/rstlinter.rst => docs/code-quality/lint/linters/rstlinter.rst
rename : tools/lint/docs/linters/rustfmt.rst => docs/code-quality/lint/linters/rustfmt.rst
rename : tools/lint/docs/usage.rst => docs/code-quality/lint/usage.rst
rename : tools/clang-tidy/docs/index.rst => docs/code-quality/static-analysis.rst
extra : moz-landing-system : lando
2020-02-11 09:11:44 +00:00
Sylvestre Ledru
423ec1500d
no bug - coding style C++ doc: fix the note syntax r=sg
...
Differential Revision: https://phabricator.services.mozilla.com/D61246
--HG--
extra : moz-landing-system : lando
2020-01-30 08:00:21 +00:00
Simon Giesecke
3f5316df28
Bug 1609943 - Improved section on comparison against true/false, and added note on clang-tidy check. r=sylvestre
...
Depends on D60281
Differential Revision: https://phabricator.services.mozilla.com/D60282
--HG--
extra : moz-landing-system : lando
2020-01-20 12:37:31 +00:00
Simon Giesecke
3e22e77cc5
Bug 1609943 - Merged two mentions of naming nsresult error variables, and improved wording a bit. r=sylvestre
...
Depends on D60273
Differential Revision: https://phabricator.services.mozilla.com/D60281
--HG--
extra : moz-landing-system : lando
2020-01-18 12:04:36 +00:00
Simon Giesecke
3da8e73cda
Bug 1609943 - Move static analysis to its own section, and add notes on a few more clang-tidy checks. r=sylvestre
...
Differential Revision: https://phabricator.services.mozilla.com/D60273
--HG--
extra : moz-landing-system : lando
2020-01-20 12:37:21 +00:00
Simon Giesecke
e9e7a0258f
Bug 1609943 - Move all string-related rules into one section. r=sylvestre
...
Differential Revision: https://phabricator.services.mozilla.com/D60264
--HG--
extra : moz-landing-system : lando
2020-01-20 10:17:20 +00:00
Simon Giesecke
843989bf9a
Bug 1609943 - Refer to UpperCamelCase to remove ambiguity. r=sylvestre
...
Differential Revision: https://phabricator.services.mozilla.com/D60263
--HG--
extra : moz-landing-system : lando
2020-01-18 12:02:39 +00:00
Simon Giesecke
34cd11297e
Bug 1609943 - Move mode line section from C++ to general coding style. r=sylvestre
...
Differential Revision: https://phabricator.services.mozilla.com/D60262
--HG--
extra : moz-landing-system : lando
2020-01-18 11:43:19 +00:00
Simon Giesecke
615906c9b7
Bug 1609943 - Split guideline on unary operators into C++ and JavaScript part. r=sylvestre
...
C++: Remove reference to JavaScript typeof from 'Operators' section and specifically refer to sizeof only.
JavaScript: Added remainder of the guideline referring to typeof.
Differential Revision: https://phabricator.services.mozilla.com/D60261
--HG--
extra : moz-landing-system : lando
2020-01-21 08:19:55 +00:00
Simon Giesecke
dfc0fdd507
Bug 1609943 - Cleanup in-line code fragments to use proper encapsulation. r=sylvestre
...
Differential Revision: https://phabricator.services.mozilla.com/D60260
--HG--
extra : moz-landing-system : lando
2020-01-17 15:51:35 +00:00
Sylvestre Ledru
7a6b62a3bf
No bug - In the coding style, explain how to auto-add missing braces r=sg
...
Differential Revision: https://phabricator.services.mozilla.com/D56293
--HG--
extra : moz-landing-system : lando
2019-12-07 11:41:21 +00:00
Simon Giesecke
7cee812af2
Bug 1600885 - Remove redundant formatting instructions from C++ coding style. r=sylvestre
...
Differential Revision: https://phabricator.services.mozilla.com/D55619
--HG--
extra : moz-landing-system : lando
2019-12-03 10:39:45 +00:00
Sylvestre Ledru
09ed42e0fd
Bug 1600361 - Move the static analysis doc in tree r=andi
...
+ add a thing about coding style
Differential Revision: https://phabricator.services.mozilla.com/D55345
--HG--
extra : moz-landing-system : lando
2019-11-30 10:18:37 +00:00
Sylvestre Ledru
8f7a2f7386
Bug 1599749 - Reference prettier from the JS coding style page r=vporof
...
Depends on D54933
Differential Revision: https://phabricator.services.mozilla.com/D54934
--HG--
extra : moz-landing-system : lando
2019-11-30 04:39:16 +00:00
Sylvestre Ledru
a9ea8049fd
Bug 1599749 - Reference black&flake8 from the Python coding style page r=ahal
...
Depends on D54934
Differential Revision: https://phabricator.services.mozilla.com/D54935
--HG--
extra : moz-landing-system : lando
2019-11-29 18:43:40 +00:00
Sylvestre Ledru
fbac4969b4
Bug 1599749 - Rename coding_style.rst to coding_style_cpp.rst r=sg
...
Differential Revision: https://phabricator.services.mozilla.com/D55104
--HG--
rename : tools/lint/docs/coding-style/coding_style.rst => tools/lint/docs/coding-style/coding_style_cpp.rst
extra : moz-landing-system : lando
2019-11-28 12:58:40 +00:00
Sylvestre Ledru
a52c67fc4b
Bug 1599749 - Improve the display of the C++ coding style page r=sg
...
Depends on D54932
Differential Revision: https://phabricator.services.mozilla.com/D54933
--HG--
extra : moz-landing-system : lando
2019-11-28 12:58:40 +00:00
Sylvestre Ledru
a5f1bb6a23
Bug 1599749 - Split the coding style documentation into different files r=sg
...
Differential Revision: https://phabricator.services.mozilla.com/D54931
--HG--
extra : moz-landing-system : lando
2019-11-28 12:58:25 +00:00
Sylvestre Ledru
d539b6af15
Bug 1598013 - Polish the some docs r=andi
...
Differential Revision: https://phabricator.services.mozilla.com/D54412
--HG--
extra : moz-landing-system : lando
2019-11-25 08:48:17 +00:00
Sylvestre Ledru
5d504c4889
Bug 1591500 - Polish the coding style doc r=sg
...
* Remove some artifacts from the pandoc convertion
* Fix some url
* Improve the l&f
* make the rstcheck linter happy (used by mach lint)
* Remove some old content (a 2007 doc)
Differential Revision: https://phabricator.services.mozilla.com/D54275
--HG--
extra : moz-landing-system : lando
2019-11-22 14:10:16 +00:00
Sylvestre Ledru
2f6d8cf062
Bug 1591500 - Move the coding style doc from mdn to the internal docs r=sg
...
Differential Revision: https://phabricator.services.mozilla.com/D50638
--HG--
extra : moz-landing-system : lando
2019-11-21 12:46:28 +00:00