#N/A: Add npm_run_script rule

This commit is contained in:
Vladimir Iakovlev
2016-08-13 17:38:40 +03:00
parent 34973fe97e
commit b09a4e394e
3 changed files with 116 additions and 0 deletions
+1
View File
@@ -200,6 +200,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_run_script` – adds missing `run-script` for custom `npm` scripts;
* `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;