1
0
mirror of https://github.com/sasjs/lint.git synced 2026-01-06 20:20:06 +00:00

Commit Graph

  • c86fd7dd1d chore(deps-dev): bump @types/jest from 26.0.21 to 26.0.23 dependabot-preview[bot] 2021-05-04 07:45:39 +00:00
  • 34e9a7b139 Merge pull request #30 from sasjs/dependabot/npm_and_yarn/typescript-4.2.4 Krishna Acondy 2021-05-04 08:44:11 +01:00
  • 5de3d33c1c chore(deps-dev): bump typescript from 4.2.3 to 4.2.4 dependabot-preview[bot] 2021-05-04 07:41:55 +00:00
  • 3a6a5d30e3 Merge pull request #38 from sasjs/dependabot/npm_and_yarn/types/node-15.0.1 Krishna Acondy 2021-05-04 08:40:26 +01:00
  • 0f629c4aca chore(*): remove unnecessary ignores Krishna Acondy 2021-05-04 08:39:23 +01:00
  • ae4c5e8347 chore(deps-dev): bump @types/node from 14.14.35 to 15.0.1 dependabot-preview[bot] 2021-05-04 07:38:19 +00:00
  • 3c700a97fc Merge branch 'main' into dependabot/add-v2-config-file Krishna Acondy 2021-05-04 08:37:03 +01:00
  • d113ef4ddd Merge pull request #41 from sasjs/dependabot/npm_and_yarn/sasjs/utils-2.12.0 Krishna Acondy 2021-05-04 08:36:48 +01:00
  • dce9453680 feat(format-diagnostics): add diagnostic information to format result payload Krishna Acondy 2021-05-04 08:27:06 +01:00
  • e76abc2db2 chore(deps): bump @sasjs/utils from 2.10.1 to 2.12.0 dependabot-preview[bot] 2021-05-04 06:30:57 +00:00
  • 1e70b9debc Upgrade to GitHub-native Dependabot dependabot-preview[bot] 2021-04-28 22:45:36 +00:00
  • 984915fe47 Merge pull request #29 from sasjs/line-ending-formatting v1.7.0 Krishna Acondy 2021-04-21 15:24:08 +01:00
  • 2687a8fa46 chore(*): separate tests for test and fix functions Krishna Acondy 2021-04-21 15:22:02 +01:00
  • 3da3e1e134 fix(macros): check for exact match with macro name Krishna Acondy 2021-04-21 15:17:16 +01:00
  • abc2f75dc0 chore(*): rename macro properties Krishna Acondy 2021-04-21 15:10:28 +01:00
  • 060b838f21 test(*): removed extra lineEndings Saad Jutt 2021-04-21 16:51:13 +05:00
  • cd90b0850a fix(hasMacroParentheses): added additional test also Saad Jutt 2021-04-21 16:44:20 +05:00
  • db2dbb1c69 feat(format): rules for hasMacroNameInMend Saad Jutt 2021-04-21 16:25:36 +05:00
  • 59f7e71919 tests(hasMacroNameInMend): Added more Saad Jutt 2021-04-21 03:31:14 +05:00
  • 6fd941aa2d tests(hasMacroNameInMend): Added more Saad Jutt 2021-04-21 03:27:24 +05:00
  • 93124bec5b chore(*): revert change to example file Krishna Acondy 2021-04-19 22:15:11 +01:00
  • bcb50b9968 feat(format): add the ability to format files, folders and projects Krishna Acondy 2021-04-19 22:13:53 +01:00
  • d28d32d441 fix(*): add SAS Macros section to Doxygen header Krishna Acondy 2021-04-19 21:07:24 +01:00
  • 519a0164b5 feat(*): add line endings rule, add automatic formatting for fixable violations Krishna Acondy 2021-04-19 21:00:38 +01:00
  • 99813f04c0 chore(*): fix tests Krishna Acondy 2021-04-19 20:55:59 +01:00
  • eb5a1bbbcb Revert "feat(*): add line endings rule, add automatic formatting for fixable violations" Krishna Acondy 2021-04-19 20:46:38 +01:00
  • 0c22ade942 Merge branch 'main' of https://github.com/sasjs/lint into main Krishna Acondy 2021-04-19 20:06:51 +01:00
  • 33a57c3163 feat(*): add line endings rule, add automatic formatting for fixable violations origin/refs/fix-line-endings-formatting Krishna Acondy 2021-04-19 20:06:45 +01:00
  • c2209cbe0e Merge pull request #27 from sasjs/issue-26 v1.6.2 revert-accidental-commit Krishna Acondy 2021-04-16 13:24:40 +01:00
  • fe974050f7 chore: replaced with Severity.Warning Saad Jutt 2021-04-16 16:20:02 +05:00
  • 1402802f0a tests: added expectedDiagnostics array Saad Jutt 2021-04-16 16:16:22 +05:00
  • 36b3a7f319 chore(tests): changed numeric literals -> consts Saad Jutt 2021-04-15 20:45:27 +05:00
  • c56887d6e6 fix(hasMacroNameInMend): default sets to true Saad Jutt 2021-04-15 16:33:31 +05:00
  • 031a323839 Merge pull request #25 from sasjs/group-rules Krishna Acondy 2021-04-07 16:42:37 +01:00
  • c9b6c3af95 chore(*): organise rules into folders by type Krishna Acondy 2021-04-07 16:34:33 +01:00
  • cc33ebb6e6 Merge pull request #24 from sasjs/assorted-fixes v1.6.1 Krishna Acondy 2021-04-07 15:52:14 +01:00
  • 5c130c7a0e fix(hasMacroNameInMend): check if %mend is extra Saad Jutt 2021-04-07 18:07:58 +05:00
  • bc3320adcb test(hasMacroParentheses): message corrected Saad Jutt 2021-04-07 17:59:05 +05:00
  • 8c9d85a729 Merge branch 'assorted-fixes' of github.com:sasjs/lint into assorted-fixes Saad Jutt 2021-04-07 17:03:52 +05:00
  • 87a3ab3ac1 test: Added for trimComments Saad Jutt 2021-04-07 17:03:28 +05:00
  • d317275eb3 chore: getLineNumber utility removed Saad Jutt 2021-04-07 16:49:24 +05:00
  • 99aec59dd1 fix: Updated Code + messages has macro name Saad Jutt 2021-04-07 16:38:43 +05:00
  • 59ccffeba7 fix: typos + PR review template for schema Allan Bowe 2021-04-07 10:38:28 +00:00
  • b87fb4dca6 fix: alphabeticalisation of config, typo fix and description extension Allan Bowe 2021-04-07 11:33:06 +01:00
  • 68226318a8 fix(*): update schema with new rules Krishna Acondy 2021-04-07 11:09:24 +01:00
  • abec0ee583 fix(*): improve code and message texts, fix comments, add missing tests Krishna Acondy 2021-04-07 11:05:26 +01:00
  • 35cefe877d fix(*): add missing text check to getColumnNumber, rename function and file Krishna Acondy 2021-04-07 10:58:24 +01:00
  • 205bd0c8bc chore(*): add comments Krishna Acondy 2021-04-07 10:57:55 +01:00
  • 2e85cbab2f fix(*): add empty string fallback to trimComments Krishna Acondy 2021-04-07 10:57:42 +01:00
  • 64c413d618 Merge pull request #23 from sasjs/allanbowe-patch-1 Krishna Acondy 2021-04-07 09:43:40 +01:00
  • 904f825ac6 Update README.md Allan Bowe 2021-04-07 09:14:56 +01:00
  • 5516a3e0a5 Update README.md Allan Bowe 2021-04-06 21:26:16 +01:00
  • e94bf3bcd1 Update README.md Allan Bowe 2021-04-06 21:25:39 +01:00
  • a9a3a67f3d Merge pull request #22 from sasjs/issue-16 v1.6.0 Allan Bowe 2021-04-06 21:18:43 +01:00
  • 524439fba0 Merge branch 'main' into issue-16 Muhammad Saad 2021-04-07 01:07:29 +05:00
  • 883b0f69f7 fix: correct highlighting Saad Jutt 2021-04-07 01:03:20 +05:00
  • 1808d9851a test: for hasMacroParentheses & noNestedMacros Saad Jutt 2021-04-07 00:58:38 +05:00
  • 39b8c4b0c4 Update README.md Allan Bowe 2021-04-06 15:50:02 +01:00
  • 3530badf49 feat: new rules noNestedMacros & hasMacroParentheses Saad Jutt 2021-04-06 19:45:42 +05:00
  • 3b130a797e Update README.md Allan Bowe 2021-04-06 15:42:20 +01:00
  • 3970f05dc9 Merge pull request #21 from sasjs/issue-12 v1.5.0 Allan Bowe 2021-04-06 10:54:11 +01:00
  • 443bdc0a50 fix(hasMacroNameInMend): added support for comments having code in it Saad Jutt 2021-04-06 14:34:51 +05:00
  • 2f07bfa0a1 chore: updated tests Saad Jutt 2021-04-05 22:58:59 +05:00
  • 86554a074c chore: tests fix Saad Jutt 2021-04-05 22:00:45 +05:00
  • 5782886bdc fix(hasMacroNameInMend): linting through comments Saad Jutt 2021-04-05 21:56:28 +05:00
  • a0e2c2d843 feat: new rule hasMacroNameInMend Saad Jutt 2021-04-05 21:30:09 +05:00
  • 82bef9f26b Update README.md Allan Bowe 2021-04-03 23:57:47 +01:00
  • 986aa18197 Update README.md Allan Bowe 2021-04-03 22:42:57 +01:00
  • 68e0c85efd Update README.md Allan Bowe 2021-04-03 22:33:18 +01:00
  • d7b90d33ab chore: README Allan Bowe 2021-04-03 21:32:23 +00:00
  • 8dec4f7129 fix(*): remove warning when unable to find sasjslint file v1.4.1 Krishna Acondy 2021-04-02 14:04:53 +01:00
  • fb4cc2dd20 Merge pull request #18 from sasjs/lint-file-paths v1.4.0 Krishna Acondy 2021-04-02 09:13:30 +01:00
  • 09e2d051c4 feat(*): group folder and project diagnostics by file path Krishna Acondy 2021-04-02 09:02:22 +01:00
  • 7aa4bfc6ba Merge pull request #13 from sasjs/lint-folder-project v1.3.0 Krishna Acondy 2021-03-31 08:57:34 +01:00
  • ffcd57d5f7 Merge branch 'main' into lint-folder-project Krishna Acondy 2021-03-31 08:36:16 +01:00
  • 86a6d36693 chore(*): fix exports Krishna Acondy 2021-03-31 08:36:04 +01:00
  • 28d5e7121a chore(*): throw error when project root is not found Krishna Acondy 2021-03-31 08:34:02 +01:00
  • c0d27fa254 chore(*): split lint module into smaller submodules, added tests Krishna Acondy 2021-03-31 08:32:42 +01:00
  • 12bfcd69bd Merge pull request #15 from sasjs/doxygen-header-false-negative v1.2.2 Allan Bowe 2021-03-30 09:29:23 +01:00
  • 6350d32d0c fix(has-doxygen-header): fix logic to handle files with comment blocks Krishna Acondy 2021-03-30 09:24:03 +01:00
  • a8ca534b0b feat(lint): add lintFolder and lintProject APIs Krishna Acondy 2021-03-30 08:59:38 +01:00
  • 1c09a10290 fix(*): remove warning when using default config v1.2.1 Krishna Acondy 2021-03-30 08:42:52 +01:00
  • 7a2e693123 Merge pull request #10 from sasjs/add-lint-rules v1.2.0 Krishna Acondy 2021-03-29 10:57:01 +01:00
  • 2ad42634d7 chore(*): update schema Krishna Acondy 2021-03-29 09:42:44 +01:00
  • 52b63bac58 fix(lint): ignore indentation multiple when set to zero Krishna Acondy 2021-03-29 09:40:32 +01:00
  • f1adcb8cb4 feat(lint): add rule for indentation multiple Krishna Acondy 2021-03-29 09:26:20 +01:00
  • 8fc3c39993 chore(*): export utils modules and default config Krishna Acondy 2021-03-26 09:13:07 +00:00
  • 3631f5c25c feat(lint): add rules for lowercase file names, max line length and no tab indentation Krishna Acondy 2021-03-26 09:09:42 +00:00
  • 1be358ca51 fix(schema): fix boolean field values in .sasjslint schema v1.1.1 Krishna Acondy 2021-03-24 20:05:20 +00:00
  • 6c09745cc6 Merge pull request #9 from sasjs/path-linting v1.1.0 Krishna Acondy 2021-03-24 19:58:47 +00:00
  • c92630a8f9 feat(path-lint): add support for linting file names, add lint config schema Krishna Acondy 2021-03-24 19:37:51 +00:00
  • c88aa8b3f6 fix(*): export types from package v1.0.2 Krishna Acondy 2021-03-24 16:51:36 +00:00
  • f10e6e5378 Merge pull request #6 from sasjs/add-severity-column-numbers v1.0.1 Krishna Acondy 2021-03-24 09:21:08 +00:00
  • de1fabc394 fix(*): Add severity, start and end column numbers for diagnostics, change warning to message Krishna Acondy 2021-03-24 09:11:09 +00:00
  • 702756545b Merge pull request #3 from sasjs/lint-v1 v1.0.0 Krishna Acondy 2021-03-23 09:15:34 +00:00
  • 022e18a13f chore(*): add support for SASENC passwords Krishna Acondy 2021-03-23 09:10:19 +00:00
  • fb541423ee Merge branch 'lint-v1' of https://github.com/sasjs/lint into lint-v1 Krishna Acondy 2021-03-23 08:22:45 +00:00
  • 2da0c7e76c chore(*): add fallback to default config Krishna Acondy 2021-03-23 08:22:42 +00:00
  • 6768992671 Update package.json Allan Bowe 2021-03-22 22:44:44 +01:00
  • a7aa8bac59 chore(*): fix code style Krishna Acondy 2021-03-22 20:39:53 +00:00