Merge pull request #278 from mcarton/sed

Add a sed_unterminated_s rule
This commit is contained in:
Vladimir Iakovlev
2015-07-07 16:30:42 +03:00
4 changed files with 53 additions and 0 deletions
+1
View File
@@ -184,6 +184,7 @@ using the matched rule and runs it. Rules enabled by default are as follows:
* `python_execute` – appends missing `.py` when executing Python files;
* `quotation_marks` – fixes uneven usage of `'` and `"` when containing args'
* `rm_dir` – adds `-rf` when you trying to remove directory;
* `sed` – adds missing '/' to `sed`'s `s` commands;
* `sl_ls` – changes `sl` to `ls`;
* `ssh_known_hosts` – removes host from `known_hosts` on warning;
* `sudo` – prepends `sudo` to previous command if it failed because of permissions;