Commit Graph

11 Commits

Author SHA1 Message Date
Jeremiah Leary fad6f180b6 Updates to address additional style tests:
1)  Updated blank line above/below rules to default to not allow comments
      a)  Set several tests which already allowed comments to allow comments
      b)  Updated documentation
      c)  Added documentation for configuring blank line rules
  2)  Fixed generate_011
      a)  Now handles all three types of generates
      b)  Handles nested generates
2020-11-21 17:00:16 -06:00
Jeremiah Leary 7b94b91ae9 Refactoring all case rules for new parser:
1)  Refactored all rules
  2)  Added tests
  3)  Removed old tests
  4)  Added base rules
      align_consecutive_lines_after_line_starting_with_token_and_stopping_with_token
      align_consecutive_lines_starting_with_a_comment_above_line_starting_with_token
      insert_carriage_return_after_token_if_it_is_not_followed_by_a_comment
      remove_tokens_bounded_by_tokens_and_remove_trailing_whitespace
2020-09-27 15:58:08 -05:00
Michał Kruszewski b6226ecb7d Set the default case to lowercase for all case rules. 2020-03-29 21:26:15 +02:00
Michał Kruszewski d90e126c87 Move comment rule 005 to case rule 021. 2020-03-29 11:40:03 +02:00
Jeremiah C Leary a0ccff78ab Adding documentation on how to change the default value for lowercase and uppercase rules. 2019-10-12 09:24:25 -05:00
Michał Kruszewski fbd038c681 Update docs. 2019-10-12 10:09:50 +02:00
Jeremiah C Leary ec35a15d3a Updates for issue #191
Added rules case_019 and case_020 to remove labels on case statements:

  1)  Added rule case_019
  2)  Added rule case_020
  3)  Added documentation
  4)  Added tests
  5)  Fixed mis-classification of cases with labels
2018-12-12 19:03:15 -06:00
Jeremiah C Leary de63c043aa Updates for issue #184
1)  Added case_018 to check for lower case "case" keyword in "end case"
  2)  Fixed documentation for case_017
  3)  Added strip semicolon function to utilities
  4)  Updated lower case rule to strip semicolons
2018-11-29 21:26:58 -06:00
Jeremiah C Leary 2788662c4d Updates for issue #184
Added case_014 to check for lowercase "case" keyword.
2018-11-29 20:10:36 -06:00
Jeremiah C Leary 7f4230fddb Updates for issue #158:
1)  Allowing comments on line before case keyword
  2)  Updated tests
  3)  Updated documentation
2018-08-28 14:14:52 -05:00
Jeremiah C Leary 208c839068 Adding documentation for assert and case rules. 2017-12-14 20:28:18 -06:00