#N/A: Add npm_wrong_command rule

This commit is contained in:
nvbn
2016-02-06 15:18:44 +03:00
parent c5acee54ea
commit 778d5f3e6e
3 changed files with 98 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:
* `mkdir_p` – adds `-p` when you trying to create directory without parent;
* `mvn_no_command` – adds `clean package` to `mvn`;
* `mvn_unknown_lifecycle_phase` – fixes misspelled lifecycle phases with `mvn`;
* `npm_wrong_command` – fixes wrong npm commands like `npm urgrade`;
* `no_command` – fixes wrong console commands, for example `vom/vim`;
* `no_such_file` – creates missing directories with `mv` and `cp` commands;
* `open` – prepends `http` to address passed to `open`;