style (graph.js graph-builder.js) comply to lintJS style