Saad Jutt
|
f793eb3a76
|
fix(strictMacroDefinition): moved from lineRules to fileRules
|
2021-05-21 17:29:23 +05:00 |
|
Saad Jutt
|
af2d2c12c1
|
feat: mult-line macro declarations
|
2021-05-21 05:10:34 +05:00 |
|
Saad Jutt
|
8bfb547427
|
chore: removed redundant property from parsedMacros
|
2021-05-20 23:00:59 +05:00 |
|
Saad Jutt
|
d7721f8e5e
|
fix: comments within/outside the statement
|
2021-05-20 22:41:16 +05:00 |
|
Saad Jutt
|
b4ec32b72c
|
chore: updated sasjslint-schema.json
|
2021-05-20 19:22:08 +05:00 |
|
Saad Jutt
|
dcfeb7a641
|
feat: new rule added 'strictMacroDefinition'
|
2021-05-20 19:14:01 +05:00 |
|
Saad Jutt
|
e5780cd69a
|
fix(parseMacro): updated to have macros with parameters + options
|
2021-05-20 15:12:06 +05:00 |
|
Saad Jutt
|
060b838f21
|
test(*): removed extra lineEndings
|
2021-04-21 16:51:13 +05:00 |
|
Saad Jutt
|
cd90b0850a
|
fix(hasMacroParentheses): added additional test also
|
2021-04-21 16:44:20 +05:00 |
|
Saad Jutt
|
db2dbb1c69
|
feat(format): rules for hasMacroNameInMend
|
2021-04-21 16:25:36 +05:00 |
|
Saad Jutt
|
59f7e71919
|
tests(hasMacroNameInMend): Added more
|
2021-04-21 03:31:14 +05:00 |
|
Saad Jutt
|
6fd941aa2d
|
tests(hasMacroNameInMend): Added more
|
2021-04-21 03:27:24 +05:00 |
|
Saad Jutt
|
fe974050f7
|
chore: replaced with Severity.Warning
|
2021-04-16 16:20:02 +05:00 |
|
Saad Jutt
|
1402802f0a
|
tests: added expectedDiagnostics array
|
2021-04-16 16:16:22 +05:00 |
|
Saad Jutt
|
36b3a7f319
|
chore(tests): changed numeric literals -> consts
|
2021-04-15 20:45:27 +05:00 |
|
Saad Jutt
|
c56887d6e6
|
fix(hasMacroNameInMend): default sets to true
|
2021-04-15 16:33:31 +05:00 |
|
Saad Jutt
|
5c130c7a0e
|
fix(hasMacroNameInMend): check if %mend is extra
|
2021-04-07 18:07:58 +05:00 |
|
Saad Jutt
|
bc3320adcb
|
test(hasMacroParentheses): message corrected
|
2021-04-07 17:59:05 +05:00 |
|
Saad Jutt
|
8c9d85a729
|
Merge branch 'assorted-fixes' of github.com:sasjs/lint into assorted-fixes
|
2021-04-07 17:03:52 +05:00 |
|
Saad Jutt
|
87a3ab3ac1
|
test: Added for trimComments
|
2021-04-07 17:03:28 +05:00 |
|
Saad Jutt
|
d317275eb3
|
chore: getLineNumber utility removed
|
2021-04-07 16:49:24 +05:00 |
|
Saad Jutt
|
99aec59dd1
|
fix: Updated Code + messages has macro name
|
2021-04-07 16:38:43 +05:00 |
|
 Muhammad SaadandGitHub
|
524439fba0
|
Merge branch 'main' into issue-16
|
2021-04-07 01:07:29 +05:00 |
|
Saad Jutt
|
883b0f69f7
|
fix: correct highlighting
|
2021-04-07 01:03:20 +05:00 |
|
Saad Jutt
|
1808d9851a
|
test: for hasMacroParentheses & noNestedMacros
|
2021-04-07 00:58:38 +05:00 |
|
Saad Jutt
|
3530badf49
|
feat: new rules noNestedMacros & hasMacroParentheses
|
2021-04-06 19:45:42 +05:00 |
|
Saad Jutt
|
443bdc0a50
|
fix(hasMacroNameInMend): added support for comments having code in it
|
2021-04-06 14:34:51 +05:00 |
|
Saad Jutt
|
2f07bfa0a1
|
chore: updated tests
|
2021-04-05 22:58:59 +05:00 |
|
Saad Jutt
|
86554a074c
|
chore: tests fix
|
2021-04-05 22:00:45 +05:00 |
|
Saad Jutt
|
5782886bdc
|
fix(hasMacroNameInMend): linting through comments
|
2021-04-05 21:56:28 +05:00 |
|
Saad Jutt
|
a0e2c2d843
|
feat: new rule hasMacroNameInMend
|
2021-04-05 21:30:09 +05:00 |
|