|
|
a3bade0a5a
|
feat: customise the defaultHeader
|
2022-11-07 16:50:35 +05:00 |
|
|
|
5290339c9e
|
chore: spec fixes
|
2022-08-15 21:57:18 +05:00 |
|
|
|
4772aa70c6
|
chore: update jsdoc header
|
2022-08-12 15:59:58 +05:00 |
|
|
|
40aea383b7
|
feat: honour .gitignore and ignoreList from config when linting filesystem
|
2022-08-12 15:49:28 +05:00 |
|
Saad Jutt
|
0caf31b7ff
|
chore: Code Refactor
|
2021-05-22 00:08:24 +05:00 |
|
Saad Jutt
|
a762dadf37
|
chore: testing content into single line
|
2021-05-21 20:08:38 +05:00 |
|
Saad Jutt
|
c9fa366130
|
fix(parseMacros): avoid statement break on html encoded semi colon
|
2021-05-21 20:05:53 +05:00 |
|
Saad Jutt
|
d391a4e8fc
|
fix(trimComments): handle case special comment case
|
2021-05-21 18:05:22 +05:00 |
|
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
|
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 |
|
Krishna Acondy
|
3da3e1e134
|
fix(macros): check for exact match with macro name
|
2021-04-21 15:17:16 +01:00 |
|
Krishna Acondy
|
abc2f75dc0
|
chore(*): rename macro properties
|
2021-04-21 15:10:28 +01:00 |
|
Saad Jutt
|
060b838f21
|
test(*): removed extra lineEndings
|
2021-04-21 16:51:13 +05:00 |
|
Saad Jutt
|
db2dbb1c69
|
feat(format): rules for hasMacroNameInMend
|
2021-04-21 16:25:36 +05:00 |
|
Krishna Acondy
|
519a0164b5
|
feat(*): add line endings rule, add automatic formatting for fixable violations
|
2021-04-19 21:00:38 +01:00 |
|
Krishna Acondy
|
eb5a1bbbcb
|
Revert "feat(*): add line endings rule, add automatic formatting for fixable violations"
This reverts commit 33a57c3163.
|
2021-04-19 20:46:38 +01:00 |
|
Krishna Acondy
|
0c22ade942
|
Merge branch 'main' of https://github.com/sasjs/lint into main
|
2021-04-19 20:06:51 +01:00 |
|
Krishna Acondy
|
33a57c3163
|
feat(*): add line endings rule, add automatic formatting for fixable violations
|
2021-04-19 20:06:45 +01: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
|
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 |
|
Krishna Acondy
|
35cefe877d
|
fix(*): add missing text check to getColumnNumber, rename function and file
|
2021-04-07 10:58:24 +01:00 |
|
Krishna Acondy
|
205bd0c8bc
|
chore(*): add comments
|
2021-04-07 10:57:55 +01:00 |
|
Krishna Acondy
|
2e85cbab2f
|
fix(*): add empty string fallback to trimComments
|
2021-04-07 10:57:42 +01:00 |
|
Saad Jutt
|
3530badf49
|
feat: new rules noNestedMacros & hasMacroParentheses
|
2021-04-06 19:45:42 +05:00 |
|
Saad Jutt
|
2f07bfa0a1
|
chore: updated tests
|
2021-04-05 22:58:59 +05:00 |
|
Saad Jutt
|
a0e2c2d843
|
feat: new rule hasMacroNameInMend
|
2021-04-05 21:30:09 +05:00 |
|
Krishna Acondy
|
8dec4f7129
|
fix(*): remove warning when unable to find sasjslint file
|
2021-04-02 14:04:53 +01:00 |
|
Krishna Acondy
|
c0d27fa254
|
chore(*): split lint module into smaller submodules, added tests
|
2021-03-31 08:32:42 +01:00 |
|
Krishna Acondy
|
a8ca534b0b
|
feat(lint): add lintFolder and lintProject APIs
|
2021-03-30 08:59:38 +01:00 |
|
Krishna Acondy
|
1c09a10290
|
fix(*): remove warning when using default config
|
2021-03-30 08:42:52 +01:00 |
|
Krishna Acondy
|
f1adcb8cb4
|
feat(lint): add rule for indentation multiple
|
2021-03-29 09:26:20 +01:00 |
|
Krishna Acondy
|
8fc3c39993
|
chore(*): export utils modules and default config
|
2021-03-26 09:13:07 +00:00 |
|
Krishna Acondy
|
3631f5c25c
|
feat(lint): add rules for lowercase file names, max line length and no tab indentation
|
2021-03-26 09:09:42 +00:00 |
|
Krishna Acondy
|
de1fabc394
|
fix(*): Add severity, start and end column numbers for diagnostics, change warning to message
|
2021-03-24 09:11:09 +00:00 |
|
Krishna Acondy
|
2da0c7e76c
|
chore(*): add fallback to default config
|
2021-03-23 08:22:42 +00:00 |
|
Krishna Acondy
|
da528bb031
|
chore(*): add PR template, add TSDoc comments
|
2021-03-22 20:36:19 +00:00 |
|
Krishna Acondy
|
bf23963127
|
feat(lint): implement v1 with 3 rules - trailing spaces, encoded passwords and Doxygen header
|
2021-03-22 20:23:10 +00:00 |
|