Граф коммитов

27 Коммитов

Автор SHA1 Сообщение Дата
Michael Scovetta 8691867ecd Fixed logger level in execute. 2017-07-08 23:46:55 -07:00
Michael Scovetta 993321c7d4 Added support for periodic scanning (new default). 2017-07-08 19:53:14 -07:00
Michael Scovetta bae26d03b7 Improved .gitignore checking. 2017-07-08 19:52:43 -07:00
Michael Scovetta 631fc0832e General cleanup / minor bug fixes. 2017-07-08 19:52:00 -07:00
Michael Scovetta dc11c7e796 Add full support for conditionals. 2017-06-30 23:52:40 -07:00
Michael Scovetta 57c76b5172 General cleanup. 2017-06-30 23:51:40 -07:00
Michael Scovetta 32512fb222 Merge branch 'master' of github.com:Microsoft/DevSkim-Sublime-Plugin 2017-05-15 17:08:18 -07:00
Michael Scovetta 16b3391b7b Add support for applies_to as a filename. 2017-05-15 17:07:31 -07:00
Michael Scovetta 1f66948180 Add support for .gitignore and ignore_files from settings. 2017-03-19 00:19:27 -07:00
Michael Scovetta e9326fd775 Improve error reporting (stack traces). 2017-03-19 00:18:59 -07:00
Michael Scovetta 401bb796ed Add support for rule conditions. 2017-03-18 23:03:02 -07:00
Michael Scovetta b0e5353c7d Fix web navigation, removing unnecessary error message. 2017-03-18 23:02:24 -07:00
Michael Scovetta 94962cef2e Switch 'active' to 'disabled' for rules. 2017-03-18 23:01:47 -07:00
Michael Scovetta 0d23d336d4 Fix #9 - fix-it only applies to first affected area in file. 2017-03-15 11:08:37 -07:00
Michael Scovetta e5b6616b23 Add filename to execute() call, minor README fixes. 2017-03-14 23:39:17 -07:00
Michael Scovetta a81c6f844d Clear selections after substitution complete. 2017-03-14 22:07:14 -07:00
Michael Scovetta 1c0f0fbd13 Update regex_word and regex_substitute for Microsoft/DevSkim@868766f401. 2017-03-14 22:05:00 -07:00
Michael Scovetta 0e61664826 Fix suppression bug #2. 2017-02-02 14:46:18 -08:00
Michael Scovetta 2dacdf1366 Remove dependency on hardcoded syntax files
Previously, all syntaxes were pre-declared and used during initialization.
This means that when a rule declares that it applies to "foo", we look
up "foo", find that it has syntax "Packages/Foo/Foo.sublime-syntax" and
file extensions "foo". Now, we start out looking for *.sublime-syntax
and building up the mapping that way.

Pre-declared mappings are now only specified for syntaxes not included
in the default ST3 distribution (e.g. PowerShell) as well as file
extensions not declared within the default syntax (e.g. Ruby's
.erb extension).

Since rule files are shared between other DevSkim engines, aliases
are included that map the applicability name (e.g. "csharp") to the
name within the syntax file (c#).
2017-01-04 16:53:58 -08:00
Michael Scovetta a8db392e77 Fixed rule locator. 2016-12-15 11:29:22 -08:00
Michael Scovetta 4b898d5231 Improved stylesheet loading and testing code. Minor updates to messages. 2016-12-15 10:45:44 -08:00
Michael Scovetta 92566e998e Minor tweaks.
* Cleaned up a few debugging lines.
* Switched rules prefix to match repo.
* Added manual review abbreviation.
2016-12-15 09:57:07 -08:00
Michael Scovetta a1a00851c2 Changed fixit regex to case insensitive to match search regex. 2016-12-09 15:33:54 -08:00
Michael Scovetta daeb2fc0de Merge branch 'master' of https://github.com/Microsoft/DevSkim-Sublime-Plugin 2016-12-09 15:31:18 -08:00
Michael Scovetta 76f8ce6a81 Added manual review suppression. 2016-12-09 15:30:24 -08:00
Michael Scovetta ff55e453ba Updated fix-it logic to use $N instead of \N patterns. 2016-10-28 19:50:39 -07:00
Michael Scovetta 096c9aea57 Initial import from internal repository. 2016-10-17 12:37:59 -07:00