You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/content/docs/extensions/rpgle/linter.mdx
+5-5Lines changed: 5 additions & 5 deletions
Original file line number
Diff line number
Diff line change
@@ -21,8 +21,8 @@ If a linter rules file does not exist, you will be asked asked if you want to cr
21
21
## Relative lint config
22
22
23
23
* If you are developing in source members (`LIB/QRPGLESRC/MYSOURCE.RPGLE`)
24
-
* the the linter config exists in `LIB/VSCODE/RPGLINT.JSON`.
25
-
* Each library has its own rules configuration file, binding it to all RPGLE sources in that library.
24
+
* the the linter config exists in `LIB/VSCODE/RPGLINT.JSON`.
25
+
* Each library has its own rules configuration file, binding it to all RPGLE sources in that library.
26
26
* config changes get pickup when RPGLE sources are re-opened.
27
27
* When developing in the IFS:
28
28
* linter rules config exist in `.vscode/rpglint.json` relative to the current working directory.
@@ -52,8 +52,8 @@ Below are some available lint configs. [See the `rpglint.json` schema for the mo
52
52
| 🌟 | StringLiteralDupe | boolean | Duplicate string literals are not allowed. |
53
53
| 🌟 | RequireBlankSpecial | boolean |*BLANK must be used over empty string literals. |
54
54
| 🌟 | CopybookDirective | string | Force which directive which must be used to include other source. (`COPY` or `INCLUDE`) |
55
-
| 🌟 |DirectivesCase| string | Directives must be in the specified case. (`lower` or `upper`) |
56
-
| 🌟 | UppercaseDirectives | boolean |**Deprecated** use `DirectivesCase` instead. Directives must be in uppercase. |
55
+
| 🌟 |DirectiveCase| string | Directives must be in the specified case. (`lower` or `upper`) |
56
+
| 🌟 | UppercaseDirectives | boolean |**Deprecated** use `DirectiveCase` instead. Directives must be in uppercase. |
57
57
| 🤔 | NoSQLJoins | boolean | JOINs in Embedded SQL are not allowed. |
58
58
| 🌟 | NoGlobalsInProcedures | boolean | Globals are not allowed in procedures. |
59
59
| 🌟 | SpecificCasing | array | Specific casing for op codes, declartions or built-in functions codes. |
@@ -66,7 +66,7 @@ Below are some available lint configs. [See the `rpglint.json` schema for the mo
66
66
| 🔒 | NoExecuteImmediate | boolean | Embedded SQL statement with EXECUTE IMMEDIATE not allowed. |
67
67
| 🔒 | NoExtProgramVariable | boolean | Declaring a prototype with EXTPGM and EXTPROC using a procedure is now allowed. |
68
68
| 🤔🌟 | IncludeMustBeRelative | boolean | When using copy or include statements, path must be relative to the root. Usage is only recommended for local/workspace projects. |
69
-
| 🤔 | SQLHostVarCheck | boolean | Warns when referencing variables in Embedded SQL that are also defined locally. |
69
+
| 🤔 | SQLHostVarCheck | boolean | Warns when referencing variables in Embedded SQL that are also defined locally. |
70
70
| 🤔 | RequireOtherBlock | boolean | Requires `SELECT` blocks to have an `OTHER` block. |
0 commit comments