[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 authored and Thibaut Girka committed 2020-03-08 20:43:53 +01:00
1 parent 35d2189ac8
commit fc53d9cc76
16 files changed
+18 -17

No files matched your search

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