Lines of Code | 14 |
Duplicated Lines | 0 |
Ratio | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | "use strict"; |
||
2 | |||
3 | const Plugin = require('./Plugin'); |
||
4 | |||
5 | /** |
||
6 | * Represent a leprechaun responsible of formatting sentences |
||
7 | */ |
||
8 | class DecoratorPlugin extends Plugin { |
||
9 | decorate(tts) { |
||
|
|||
10 | throw new Error("DecoratorPlugin::decorate() must be overridden !"); |
||
11 | } |
||
12 | } |
||
13 | |||
14 | module.exports = DecoratorPlugin; |
||
15 |
This check looks for parameters in functions that are not used in the function body and are not followed by other parameters which are used inside the function.