Commit f58b17c 1 parent 1a7df23 commit f58b17c Copy full SHA for f58b17c
File tree 1 file changed +2
-2
lines changed
1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change 28
28
1 . Prefix any errors with the name of your plugin
29
29
- For example: ` gulp-replace: Cannot do regexp replace on a stream `
30
30
- Use gulp-util's [ PluginError] ( https://github.com/gulpjs/gulp-util#new-pluginerrorpluginname-message-options ) class to make this easy
31
- 1 . Name your plugin appropriately: it should begin "gulp-" if it is a gulp plugin
32
- - If it is not a gulp plugin, it should not begin "gulp-"
31
+ 1 . Name your plugin appropriately: it should begin with "gulp-" if it is a gulp plugin
32
+ - If it is not a gulp plugin, it should not begin with "gulp-"
33
33
1 . The type of ` file.contents ` should always be the same going out as it was when it came in
34
34
- If file.contents is null (non-read) just ignore the file and pass it along
35
35
- If file.contents is a Stream and you don't support that just emit an error
You can’t perform that action at this time.
0 commit comments