#587: Add scm correction rule

This commit is contained in:
Vladimir Iakovlev
2017-01-15 14:40:50 +01:00
parent 8447b5caa2
commit dbe324bcd8
3 changed files with 79 additions and 0 deletions
+1
View File
@@ -227,6 +227,7 @@ using the matched rule and runs it. Rules enabled by default are as follows:
* `react_native_command_unrecognized` – fixes unrecognized `react-native` commands;
* `remove_trailing_cedilla` – remove trailling cedillas `ç`, a common typo for european keyboard layouts;
* `rm_dir` – adds `-rf` when you trying to remove directory;
* `scm_correction` – corrects wrong scm like `hg log` to `git log`;
* `sed_unterminated_s` – adds missing '/' to `sed`'s `s` commands;
* `sl_ls` – changes `sl` to `ls`;
* `ssh_known_hosts` – removes host from `known_hosts` on warning;