#N/A: Add npm_missing_script rule

This commit is contained in:
Vladimir Iakovlev
2016-08-13 18:28:45 +03:00
parent b09a4e394e
commit fdfbfc80c0
8 changed files with 141 additions and 18 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_missing_script` &ndash; fixes `npm` custom script name in `npm run-script <script>`;
* `npm_run_script` &ndash; adds missing `run-script` for custom `npm` scripts;
* `npm_wrong_command` &ndash; fixes wrong npm commands like `npm urgrade`;
* `no_command` &ndash; fixes wrong console commands, for example `vom/vim`;