1 | "use babel"; |
||
2 | |||
3 | export default class DevmindBeautifierView { |
||
4 | constructor(serializedState) { |
||
0 ignored issues
–
show
|
|||
5 | // Create root element |
||
6 | this.element = document.createElement("div"); |
||
7 | this.element.classList.add("devmind-beautifier"); |
||
8 | |||
9 | // Create message element |
||
10 | } |
||
11 | |||
12 | // Returns an object that can be retrieved when package is activated |
||
13 | serialize() {} |
||
14 | |||
15 | // Tear down any state and detach |
||
16 | destroy() { |
||
17 | this.element.remove(); |
||
18 | } |
||
19 | |||
20 | getElement() { |
||
21 | return this.element; |
||
22 | } |
||
23 | } |
||
24 |
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.