summaryrefslogtreecommitdiffstats
path: root/src/CheckBasicStyle.lua (unfollow)
Commit message (Collapse)AuthorFilesLines
2015-12-22Ignore == if followed by \worktycho1-1/+1
Ignore the space before == rule if immediately followed by a \. If it is imediatly followed by a \, then this is likely the base64 padding at the end of a certificate, which is followed by \n.
2015-12-19Added HTTPS links wherever they are supported.Alexander Harkness1-34/+30
2015-10-08StyleCheck: Check spaces around ==, <=, >=Mattes D1-2/+10
2015-09-17Added CircleCI for stylechecking.Mattes D1-0/+6
This will allow us to remove the stylecheck from Travis builds, making them a bit faster, and having fast style checks
2015-07-31Unified the doxy-comment format.Mattes D1-0/+12
2015-05-12ToLua now generates cLuaState::Push() and GetStackValue()Mattes D1-0/+1
For classes exported through ToLua it generates the cLuaState::Push() and cLuaState::GetStackValue() functions, as well as the supporting forward declarations and typedefs. Renamed virtual_method_hooks.lua to BindingsProcessor.lua since it no longer provides virtual method hooks and instead does additional processing when generating the bindings.
2015-05-09Added check against "Type const &" and "Type const *".Mattes D1-0/+4
2015-05-09CheckBasicStyle: checks spaces around * and &.Mattes D1-2/+10
2015-05-09More style checking.Mattes D1-0/+21
Spaces around some operators are checked.
2015-05-05Chmod +x CheckBasicStyle.luawiseoldman951-0/+0
2015-05-02CheckBasicStyle: Can check individual files or git commits.Mattes D1-2/+101
2015-03-21Fixed alignmentworktycho1-2/+2
2015-03-11Fixed style and removed false positivestycho1-3/+3
Relaxed the rules for < followed by an && and removed rule for < following an &&
2015-01-29CheckBasicStyle: Fixed a forgotten file close.Mattes D1-0/+1
2014-12-05CheckBasicStyle: Check missing braces for control statements.Mattes D1-0/+19
Only single-line control statements are checked.
2014-12-05CheckBasicStyle: Added a check for parentheses around comparisons.Mattes D1-0/+22
The check is only rudimentary and tends to fall towards missed positived rather than false positives.
2014-12-04CheckBasicStyle: Doesn't report false positives ending in a keyword.Mattes D1-5/+5
2014-10-13CheckBasicStyle ignores the Bindings.h generated file.Mattes D1-0/+1
2014-08-28CheckBasicStyle: Added checking for the "template" keyword.Mattes D1-1/+2
2014-08-27CheckBasicStyle: Relaxed the "space after comma".Mattes D1-1/+1
An apostrophe directly following a comma is not a violation.
2014-08-04CheckBasicStyle: multi-level indent change.madmaxoft1-1/+16
2014-08-04BasicStyleCheck: Dividers are exactly 80 slashes.madmaxoft1-1/+17
2014-07-21CheckBasicStyle: Added a lua shebang.madmaxoft1-0/+1
2014-07-21CheckBasicStyle: Doesn't require LuaFileSystem.madmaxoft1-34/+10
Instead it uses the list of files generated by CMake.
2014-07-21Normalized spaces after "catch".madmaxoft1-1/+2
2014-07-21CheckBasicStyle: Checks spaces after keywords, no space before ")".madmaxoft1-1/+16
2014-07-19CheckBasicStyle: Checks for braces not on separate lines.madmaxoft1-2/+6
Only the opening braces at the end of a line are checked, others (such as inline getters and setters or initializers) are valid.
2014-07-19CheckBasicStyle: Check spaces around commas.madmaxoft1-6/+6
We want no space in front of and at least one space after a comma.
2014-07-18CheckBasicStyle: Proper spaces with commas.madmaxoft1-21/+48
2014-07-17Initial version of a script to check basic style.madmaxoft1-0/+188
This script reports basic violations of the style, such as indentation using spaces, alignment using tabs, trailing whitespace etc. Passing this script does NOT mean that the style is clean, it's only for fast-checking purposes.