mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-08 19:04:45 +00:00
Bug 1280883 - ESLint shows unreachable statement for xbl fields. r=miker
This commit is contained in:
parent
d086fee2a2
commit
3ca9eb9112
@ -263,8 +263,9 @@ module.exports = {
|
||||
addSyntheticLine(indent(3) + `get ${item.attributes.name}() {`, item.textLine);
|
||||
// TODO This will probably break some style rules when. We need
|
||||
// to inject this next to the first non-whitespace character
|
||||
addSyntheticLine(indent(4) + `return`, item.textLine);
|
||||
addNodeLines(item, 4);
|
||||
addSyntheticLine(indent(4) + `return (`, item.textLine);
|
||||
addNodeLines(item, 5);
|
||||
addSyntheticLine(indent(4) + `);`, item.textLine);
|
||||
addSyntheticLine(indent(3) + `},`, item.textEndLine);
|
||||
break;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user