Commit Graph
72 Commits
Author SHA1 Message Date
Krishna AcondyandGitHub f7f989fabd Merge pull request #44 from sasjs/dependabot/npm_and_yarn/types/node-15.0.2
chore(deps-dev): bump @types/node from 15.0.1 to 15.0.2
2021-05-06 07:26:30 +01:00
Krishna AcondyandGitHub 850cf85ef1 Merge branch 'main' into dependabot/npm_and_yarn/types/node-15.0.2 2021-05-06 07:25:32 +01:00
Krishna AcondyandGitHub 3dc304fffc Merge pull request #42 from sasjs/format-diagnostics
feat(format-diagnostics): add diagnostic information to format result payload
2021-05-06 07:25:10 +01:00
Krishna Acondy e329529484 chore(*): add comment 2021-05-06 07:24:07 +01:00
Krishna Acondy 15190bfe88 Merge branch 'format-diagnostics' of https://github.com/sasjs/lint into format-diagnostics 2021-05-06 07:22:32 +01:00
Krishna Acondy bc011c4b47 chore(*): add tests for new functionality 2021-05-06 07:22:29 +01:00
Krishna AcondyandGitHub 96fb384ec9 Merge branch 'main' into format-diagnostics 2021-05-04 08:52:07 +01:00
Krishna AcondyandGitHub 21fd4e8fcc Merge pull request #39 from sasjs/dependabot/add-v2-config-file
Upgrade to GitHub-native Dependabot
2021-05-04 08:51:54 +01:00
Krishna AcondyandGitHub ac595c65d0 Merge branch 'main' into dependabot/add-v2-config-file 2021-05-04 08:50:58 +01:00
Krishna AcondyandGitHub e5763ce529 Merge pull request #33 from sasjs/dependabot/npm_and_yarn/ts-jest-26.5.5
chore(deps-dev): bump ts-jest from 26.5.4 to 26.5.5
2021-05-04 08:50:29 +01:00
Krishna AcondyandGitHub 4729f04589 Merge branch 'main' into dependabot/npm_and_yarn/ts-jest-26.5.5 2021-05-04 08:49:35 +01:00
Krishna AcondyandGitHub 32956db8b2 chore(*): Add dependabot badge 2021-05-04 08:47:30 +01:00
Krishna AcondyandGitHub 7b58c455dc Merge pull request #36 from sasjs/dependabot/npm_and_yarn/types/jest-26.0.23
chore(deps-dev): bump @types/jest from 26.0.21 to 26.0.23
2021-05-04 08:46:43 +01:00
Krishna AcondyandGitHub 34e9a7b139 Merge pull request #30 from sasjs/dependabot/npm_and_yarn/typescript-4.2.4
chore(deps-dev): bump typescript from 4.2.3 to 4.2.4
2021-05-04 08:44:11 +01:00
Krishna AcondyandGitHub 3a6a5d30e3 Merge pull request #38 from sasjs/dependabot/npm_and_yarn/types/node-15.0.1
chore(deps-dev): bump @types/node from 14.14.35 to 15.0.1
2021-05-04 08:40:26 +01:00
Krishna AcondyandGitHub 0f629c4aca chore(*): remove unnecessary ignores 2021-05-04 08:39:23 +01:00
Krishna AcondyandGitHub 3c700a97fc Merge branch 'main' into dependabot/add-v2-config-file 2021-05-04 08:37:03 +01:00
Krishna AcondyandGitHub d113ef4ddd Merge pull request #41 from sasjs/dependabot/npm_and_yarn/sasjs/utils-2.12.0
chore(deps): bump @sasjs/utils from 2.10.1 to 2.12.0
2021-05-04 08:36:48 +01:00
Krishna Acondy dce9453680 feat(format-diagnostics): add diagnostic information to format result payload 2021-05-04 08:27:06 +01:00
Krishna AcondyandGitHub 984915fe47 Merge pull request #29 from sasjs/line-ending-formatting
feat(*): add line endings rule, add automatic formatting for fixable violations
2021-04-21 15:24:08 +01:00
Krishna Acondy 2687a8fa46 chore(*): separate tests for test and fix functions 2021-04-21 15:22:02 +01: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
Krishna Acondy 93124bec5b chore(*): revert change to example file 2021-04-19 22:15:11 +01:00
Krishna Acondy bcb50b9968 feat(format): add the ability to format files, folders and projects 2021-04-19 22:13:53 +01:00
Krishna Acondy d28d32d441 fix(*): add SAS Macros section to Doxygen header 2021-04-19 21:07:24 +01: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 99813f04c0 chore(*): fix tests 2021-04-19 20:55:59 +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
Krishna AcondyandGitHub c2209cbe0e Merge pull request #27 from sasjs/issue-26
fix(hasMacroNameInMend): default sets to true
2021-04-16 13:24:40 +01:00
Krishna AcondyandGitHub 031a323839 Merge pull request #25 from sasjs/group-rules
chore(*): organise rules into folders by type
2021-04-07 16:42:37 +01:00
Krishna Acondy c9b6c3af95 chore(*): organise rules into folders by type 2021-04-07 16:34:33 +01:00
Krishna AcondyandGitHub cc33ebb6e6 Merge pull request #24 from sasjs/assorted-fixes 2021-04-07 15:52:14 +01:00
Krishna Acondy 68226318a8 fix(*): update schema with new rules 2021-04-07 11:09:24 +01:00
Krishna Acondy abec0ee583 fix(*): improve code and message texts, fix comments, add missing tests 2021-04-07 11:05:26 +01: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
Krishna AcondyandGitHub 64c413d618 Merge pull request #23 from sasjs/allanbowe-patch-1
Update README.md
2021-04-07 09:43:40 +01:00
Krishna Acondy 8dec4f7129 fix(*): remove warning when unable to find sasjslint file 2021-04-02 14:04:53 +01:00
Krishna AcondyandGitHub fb4cc2dd20 Merge pull request #18 from sasjs/lint-file-paths
feat(*): group folder and project diagnostics by file path
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 AcondyandGitHub 7aa4bfc6ba Merge pull request #13 from sasjs/lint-folder-project
feat(lint): add lintFolder and lintProject APIs
2021-03-31 08:57:34 +01:00
Krishna AcondyandGitHub 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
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 2021-03-30 08:42:52 +01:00
Krishna AcondyandGitHub 7a2e693123 Merge pull request #10 from sasjs/add-lint-rules 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 2021-03-24 20:05:20 +00:00
Krishna AcondyandGitHub 6c09745cc6 Merge pull request #9 from sasjs/path-linting
feat(path-lint): add support for linting file names, add lint config schema
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 2021-03-24 16:51:36 +00:00
Krishna AcondyandGitHub f10e6e5378 Merge pull request #6 from sasjs/add-severity-column-numbers
fix(*): Add severity, start and end column numbers for diagnostics
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 AcondyandGitHub 702756545b Merge pull request #3 from sasjs/lint-v1
feat(lint): implement first set of linting rules
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
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 AcondyandGitHub f3d7d38984 Initial commit 2021-03-15 09:25:57 +00:00