1
0
mirror of https://github.com/sasjs/lint.git synced 2025-12-10 17:34:36 +00:00

300 Commits

Author SHA1 Message Date
Allan Bowe
a9a3a67f3d Merge pull request #22 from sasjs/issue-16
feat: new rules noNestedMacros & hasMacroParentheses
v1.6.0
2021-04-06 21:18:43 +01:00
Muhammad Saad
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
Allan Bowe
39b8c4b0c4 Update README.md 2021-04-06 15:50:02 +01:00
Saad Jutt
3530badf49 feat: new rules noNestedMacros & hasMacroParentheses 2021-04-06 19:45:42 +05:00
Allan Bowe
3b130a797e Update README.md 2021-04-06 15:42:20 +01:00
Allan Bowe
3970f05dc9 Merge pull request #21 from sasjs/issue-12
feat: new rule hasMacroNameInMend
v1.5.0
2021-04-06 10:54:11 +01: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
Allan Bowe
82bef9f26b Update README.md 2021-04-03 23:57:47 +01:00
Allan Bowe
986aa18197 Update README.md 2021-04-03 22:42:57 +01:00
Allan Bowe
68e0c85efd Update README.md 2021-04-03 22:33:18 +01:00
Allan Bowe
d7b90d33ab chore: README 2021-04-03 21:32:23 +00:00
Krishna Acondy
8dec4f7129 fix(*): remove warning when unable to find sasjslint file v1.4.1 2021-04-02 14:04:53 +01:00
Krishna Acondy
fb4cc2dd20 Merge pull request #18 from sasjs/lint-file-paths
feat(*): group folder and project diagnostics by file path
v1.4.0
2021-04-02 09:13:30 +01:00
Krishna Acondy
09e2d051c4 feat(*): group folder and project diagnostics by file path 2021-04-02 09:02:22 +01:00
Krishna Acondy
7aa4bfc6ba Merge pull request #13 from sasjs/lint-folder-project
feat(lint): add lintFolder and lintProject APIs
v1.3.0
2021-03-31 08:57:34 +01:00
Krishna Acondy
ffcd57d5f7 Merge branch 'main' into lint-folder-project 2021-03-31 08:36:16 +01:00
Krishna Acondy
86a6d36693 chore(*): fix exports 2021-03-31 08:36:04 +01:00
Krishna Acondy
28d5e7121a chore(*): throw error when project root is not found 2021-03-31 08:34:02 +01:00
Krishna Acondy
c0d27fa254 chore(*): split lint module into smaller submodules, added tests 2021-03-31 08:32:42 +01:00
Allan Bowe
12bfcd69bd Merge pull request #15 from sasjs/doxygen-header-false-negative
fix(has-doxygen-header): fix logic to handle files with comment blocks
v1.2.2
2021-03-30 09:29:23 +01:00
Krishna Acondy
6350d32d0c fix(has-doxygen-header): fix logic to handle files with comment blocks 2021-03-30 09:24:03 +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 v1.2.1 2021-03-30 08:42:52 +01:00
Krishna Acondy
7a2e693123 Merge pull request #10 from sasjs/add-lint-rules v1.2.0 2021-03-29 10:57:01 +01:00
Krishna Acondy
2ad42634d7 chore(*): update schema 2021-03-29 09:42:44 +01:00
Krishna Acondy
52b63bac58 fix(lint): ignore indentation multiple when set to zero 2021-03-29 09:40:32 +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
1be358ca51 fix(schema): fix boolean field values in .sasjslint schema v1.1.1 2021-03-24 20:05:20 +00:00
Krishna Acondy
6c09745cc6 Merge pull request #9 from sasjs/path-linting
feat(path-lint): add support for linting file names, add lint config schema
v1.1.0
2021-03-24 19:58:47 +00:00
Krishna Acondy
c92630a8f9 feat(path-lint): add support for linting file names, add lint config schema 2021-03-24 19:37:51 +00:00
Krishna Acondy
c88aa8b3f6 fix(*): export types from package v1.0.2 2021-03-24 16:51:36 +00:00
Krishna Acondy
f10e6e5378 Merge pull request #6 from sasjs/add-severity-column-numbers
fix(*): Add severity, start and end column numbers for diagnostics
v1.0.1
2021-03-24 09:21:08 +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
702756545b Merge pull request #3 from sasjs/lint-v1
feat(lint): implement first set of linting rules
v1.0.0
2021-03-23 09:15:34 +00:00
Krishna Acondy
022e18a13f chore(*): add support for SASENC passwords 2021-03-23 09:10:19 +00:00
Krishna Acondy
fb541423ee Merge branch 'lint-v1' of https://github.com/sasjs/lint into lint-v1 2021-03-23 08:22:45 +00:00
Krishna Acondy
2da0c7e76c chore(*): add fallback to default config 2021-03-23 08:22:42 +00:00
Allan Bowe
6768992671 Update package.json 2021-03-22 22:44:44 +01:00
Krishna Acondy
a7aa8bac59 chore(*): fix code style 2021-03-22 20:39:53 +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
Krishna Acondy
f3d7d38984 Initial commit 2021-03-15 09:25:57 +00:00