Elliotte Rusty Harold
aa19fd7504
allow for typo corrections
2021-04-09 08:21:46 -04:00
Elliotte Rusty Harold
103ea74d5d
add pull request template discouraging contributions
2021-04-08 17:23:10 -04:00
Elliotte Rusty Harold
f854eb0f9c
Merge pull request #1 from google/gh-pages
...
merge head
2021-04-08 21:13:16 +00:00
Titus Winters
845e4f9a15
Merge pull request #633 from elharo/patch-1
...
docs: discourage external contributors
2021-04-08 17:04:38 -04:00
Elliotte Rusty Harold
d754e413ec
Update README.md
2021-04-08 20:30:44 +00:00
Elliotte Rusty Harold
c6d79d07ab
expand on treatment of external contributions
2021-04-08 20:28:33 +00:00
Elliotte Rusty Harold
52483ac7e4
docs: discourage external contributors
...
@tituswinters
2021-04-08 14:08:23 -04:00
Titus Winters
635fe96f8e
Merge pull request #630 from zetafunction/gh-pages
...
Update C++ style guide.
2021-03-29 07:41:18 -04:00
Daniel Cheng
4e25657924
Update C++ style guide.
...
Mostly minor wording updates (e.g. preferring int64_t to int64). The
most significant change is clarifying the section on consistency to
clarify that consistency, in and of itself, should not be used as the
sole argument for blocking adoption of style changes.
2021-03-26 16:54:25 -07:00
Titus Winters
6e239d7f90
Merge pull request #620 from zetafunction/update-c++
...
Update C++ style guide.
2021-01-29 14:10:19 -05:00
Daniel Cheng
a4413633ec
Update C++ style guide.
...
Minor formatting and wording fixes.
2021-01-29 11:04:19 -08:00
Google Python team
5120fd6b14
Project import generated by Copybara.
...
PiperOrigin-RevId: 347693939
2021-01-26 00:56:55 +00:00
Google Python team
2e797961e9
Project import generated by Copybara.
...
PiperOrigin-RevId: 353740685
2021-01-26 00:38:44 +00:00
Alex Okrushko
87c54065a2
remove the go-link
2021-01-22 21:32:51 -08:00
Alex Okrushko
bfa71446db
Add TypeScript style guide
2021-01-22 21:32:51 -08:00
Titus Winters
d5b5104763
Merge pull request #584 from zetafunction/yet-again-how-does-this-work
...
Update C++ styleguide
2020-11-11 08:50:32 -05:00
Daniel Cheng
ed3dd33df3
Update Google C++ styleguide
...
- Guidance for return values (prefer return by value, return by
reference, then return by pointer in that order)
- Mandate curly braces around the body of a control statement,
providing one exception for historical reasons (`if` with no `else`,
and `if` + body fits completely in a single line or the `if` fits in
one line and the body fits in another separate line).
2020-11-10 22:26:05 -08:00
FaresSalem
61bf629373
Update style guideline URL
2020-10-06 17:15:25 +02:00
Titus Winters
96f6a64d30
Merge pull request #577 from zetafunction/how-does-this-work-again
...
Update C++ styleguide
2020-09-25 13:27:34 -04:00
Daniel Cheng
3919c347aa
Update C++ styleguide
...
- add section for inclusive language.
- move include-what-you-use to a new section.
- clarify usage of absl::optional for by-value vs by-reference params.
- document usage of `` as a code-indexing hint
- note that enclosing identifiers in `` can help code indexers.
2020-09-25 00:29:52 -07:00
Google Python team
ddccc0fbeb
Project import generated by Copybara.
...
PiperOrigin-RevId: 332885552
2020-09-23 01:40:40 +00:00
Google Python team
f84020eeec
Project import generated by Copybara.
...
PiperOrigin-RevId: 332244028
2020-09-17 17:49:28 +00:00
Michael Diamond
32916a92da
Add owners for the Java and Shell guides, and alphabetize the list.
2020-09-16 02:20:35 -07:00
Google Python team
25e977d641
Project import generated by Copybara.
...
PiperOrigin-RevId: 325456551
2020-08-07 17:22:26 +00:00
Google Python team
7645d63652
Project import generated by Copybara.
...
PiperOrigin-RevId: 325285627
2020-08-06 19:35:13 +00:00
Tony Ruscoe
5142f2245c
Add CODEOWNER for HTML/CSS style guide
2020-08-03 14:44:16 +01:00
Gregory P. Smith
10748b8973
Merge pull request #570 from allight/inclusive
...
Update language to comply with Android's inclusive language guidance (remove "dummy").
2020-07-28 18:40:58 -07:00
Alex Light
6c31e522d9
Update language to comply with Android's inclusive language guidance
...
See https://source.android.com/setup/contribute/respectful-code for
reference
cpplint.py is copied into AOSP from this github version so update it
here first.
Bug: 161896447
Test: None (comments only)
2020-07-28 18:21:22 -07:00
Gregory P. Smith
718c32728d
own Python things.
2020-07-24 14:19:55 -07:00
Jonathan B Coe
5ed7df0018
Add jbcoe as CODEOWNER for C# style guide
2020-07-23 18:37:53 +01:00
Samuel Freilich
aede323223
Merge pull request #569 from google/sfreilich-codeowners
...
Add CODEOWNERS file
2020-07-23 13:13:09 -04:00
Samuel Freilich
4a9b9c2232
Add CODEOWNERS file
...
Since this repository contains style guides managed by different owners/teams, it might be convenient to have a way to allow maintainers to get notified about PRs for specific files. GitHub's code owners feature provides a way to do that:
https://docs.github.com/en/github/creating-cloning-and-archiving-repositories/about-code-owners
Adding myself to this for the Lisp Style Guide.
2020-07-23 08:38:58 -04:00
Google Python team
f87ee8407a
Project import generated by Copybara.
...
PiperOrigin-RevId: 321580967
2020-07-17 22:33:14 +00:00
Google Python team
1b367e11d1
Project import generated by Copybara.
...
PiperOrigin-RevId: 320248352
2020-07-08 20:12:26 +00:00
Google Python team
ea180f7259
Project import generated by Copybara.
...
PiperOrigin-RevId: 320107176
2020-07-08 02:37:59 +00:00
Google Python team
19518af929
Project import generated by Copybara.
...
PiperOrigin-RevId: 318489724
2020-07-08 00:10:45 +00:00
Google Python team
59def00435
Project import generated by Copybara.
...
PiperOrigin-RevId: 318884292
2020-07-07 23:41:53 +00:00
Gregory P. Smith
64de8439e3
Remove blacklist/whitelist from cpplint.py ( #562 )
...
Remove blacklist/whitelist from cpplint.py
Merges pull request #562 from @nealrichardson.
2020-06-19 13:33:54 -07:00
Neal Richardson
08268efb06
Remove blacklist/whitelist from cpplint.py
2020-06-19 13:27:01 -07:00
Jonathan B Coe
b448694ab3
Remove more markdown that GitHub cannot handle
2020-06-04 15:05:36 +01:00
Jonathan B Coe
edd630a9ee
Remove markdown not recognised by GitHub
...
Remove `{.good}` and `{.bad}` and replace with comments.
2020-06-04 13:30:29 +01:00
Titus Winters
f3a418ef09
Merge pull request #559 from jbcoe/gh-pages
...
Add Google C# style guide
2020-06-04 08:11:36 -04:00
Jonathan Coe
fa44b1c518
Add Google C# style guide
2020-06-03 21:09:58 +01:00
Titus Winters
8416dda837
Merge pull request #555 from zetafunction/restore-toc
...
[C++ styleguide] Restore table of contents
2020-05-27 08:59:46 -04:00
Daniel Cheng
d8467c6dcf
[C++ styleguide] Restore table of contents
...
This was mistakenly dropped when updating the styleguide from the
internal C++ styleguide.
2020-05-27 01:07:22 +00:00
Samuel Freilich
4258a92c2c
Merge pull request #334 from ebzzry/gh-pages
...
Fix typo
2020-05-26 20:46:50 -04:00
Samuel Freilich
276f2d9f1e
Merge pull request #266 from svetlyak40wt/patch-1
...
Fixed "full hairy example" of formatting control string in Common Lisp style guide
2020-05-26 20:38:42 -04:00
Samuel Freilich
29b6d576f4
Merge pull request #375 from ebzzry/gh-pages
...
Fix typos in the lisp guide
2020-05-26 20:38:03 -04:00
Titus Winters
1c41bbf09e
Merge pull request #553 from zetafunction/cpp-styleguide-update
...
Update C++ styleguide
2020-05-26 14:29:34 -04:00
Daniel Cheng
7a7a2f510e
Update C++ styleguide
...
Major changes:
- discourage const references when the input parameter must outlive the
call
- drop ban on mutable references
- allow rvalue-qualified methods in certain situations
- allow C-style cast when casting to void
- disallow postfix increment/decrement operators unless postfix
semantics are required
- allow designated initializers in C++20-compliant form
- disallow macro-style naming for enumerator constant for new code
- disallow spaces inside parentheses for conditionals
The change itself is largely automated, with a few manual adjustments:
- manually restore the TOC placeholder
- removed trailing whitespace
2020-05-20 17:14:04 +00:00