|
|
2cb73da0eb
|
feat: support a user-level ~/.sasjslint
|
2023-04-12 23:06:08 +05:00 |
|
|
|
496e0bc8fc
|
fix: lineEndings should be off by default
|
2023-02-20 20:07:07 +05:00 |
|
|
|
c3a466f485
|
chore: quick fix
|
2023-02-20 14:37:04 +05:00 |
|
|
|
b5b8e7b00b
|
chore: quick fix
|
2023-01-11 21:34:07 +05:00 |
|
|
|
7a46e9857e
|
feat: add new config maxDataLineLength
|
2023-01-11 19:51:07 +05:00 |
|
Allan Bowe
|
5f0ef8616c
|
Update getHeaderLinesCount.ts
|
2023-01-10 15:02:50 +00:00 |
|
Allan Bowe
|
b8b357c514
|
Update getHeaderLinesCount.ts
|
2023-01-10 10:39:32 +00:00 |
|
Allan Bowe
|
701c160ec1
|
fix: support single asterisk comment headers
|
2023-01-10 10:37:32 +00:00 |
|
|
|
e6dc319844
|
chore: quick fix
|
2023-01-10 15:32:57 +05:00 |
|
|
|
b6e9ee0825
|
feat: add a new config maxHeaderLineLength
|
2023-01-10 14:48:18 +05:00 |
|
|
|
636703b326
|
chore: specs fix
|
2022-12-29 00:49:40 +05:00 |
|
|
|
5c44ec400d
|
chore: quick fix
|
2022-12-29 00:47:54 +05:00 |
|
|
|
4b16e0c52a
|
chore: typo fix
|
2022-12-27 23:55:36 +05:00 |
|
|
|
97e3490a8d
|
fix: add few more gremlins
|
2022-12-27 23:22:40 +05:00 |
|
|
|
3701253302
|
fix: check tab indentation in whole line
|
2022-12-09 16:36:09 +05:00 |
|
|
|
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 |
|