-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update README and add template (#13)
- Loading branch information
1 parent
22cddf5
commit 113043f
Showing
2 changed files
with
54 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,40 @@ | ||
# Check for indentation errors | ||
indentation_check = true | ||
|
||
# Expected indentation size (spaces only) | ||
indentation_size = 2 | ||
|
||
# Throw error when RAPID keywords (IF, PROC, MODULE) are not in uppercase | ||
require_uppercase_keywords = true | ||
|
||
# Maximum number of allowed empty lines | ||
max_empty_lines = 2 | ||
|
||
# Throw error if file doesn't end with a new line | ||
require_new_line_eof = true | ||
|
||
# Throw error when trailing space is found | ||
allow_trailing_space = false | ||
|
||
# When indent_error_section = false, the error section in a procedure should be indented as follows | ||
# | ||
# PROC procName | ||
# call1; | ||
# .... | ||
# ERROR | ||
# call2; | ||
# ... | ||
# ENDPROC | ||
# | ||
# and when indent_error_section = true | ||
# | ||
# PROC procName | ||
# call1; | ||
# ... | ||
# ERROR | ||
# call2; | ||
# ... | ||
# ENDPROC | ||
# | ||
indent_error_section = false | ||
|