[Glitch] Code style improvements in JavaScript

Port fd76955f39 to glitch-soc

* JS-linter: fix trailing comma's

* Configure eslinter to ignore this onchange error.

Signed-off-by: Thibaut Girka <thib@sitedethib.com>
This commit is contained in:
Bèr Kessels
2020-03-08 16:02:36 +01:00
committed by Thibaut Girka
parent 35d2189ac8
commit fc53d9cc76
16 changed files with 18 additions and 17 deletions

View File

@@ -45,7 +45,7 @@ export default class IntersectionObserverArticle extends React.Component {
intersectionObserverWrapper.observe(
id,
this.node,
this.handleIntersection
this.handleIntersection,
);
this.componentMounted = true;