You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
However, in its own code, it uses a wild mix of outdated syntax, like var and not even available syntax (at least on NodeJS), like export function. I think, it would be better to choose one. Personally, I would prefer ES6 as is available on NodeJS LTS (v6 atm), as it has a lot of benefits, especially for static analysis, and gets rid of the dependency on a transpiler for deployment.
Additionally, there is no linting available, and the code seems to not follow any guidelines. E.g. sometimes there are multiple variables declared per var statement, sometimes there are multiple consecutive var statements. I would suggest using airbnb's coding guidelines in order to improve the code quality and consistency.
After #2 is finished, I could run the code through WebStorm code analysis and fix the syntax one way or the other, if desired. It's only a few lines, so not too much trouble, actually :)
The text was updated successfully, but these errors were encountered:
At the moment, mics is advertise as
However, in its own code, it uses a wild mix of outdated syntax, like
var
and not even available syntax (at least on NodeJS), likeexport function
. I think, it would be better to choose one. Personally, I would prefer ES6 as is available on NodeJS LTS (v6 atm), as it has a lot of benefits, especially for static analysis, and gets rid of the dependency on a transpiler for deployment.Additionally, there is no linting available, and the code seems to not follow any guidelines. E.g. sometimes there are multiple variables declared per
var
statement, sometimes there are multiple consecutivevar
statements. I would suggest using airbnb's coding guidelines in order to improve the code quality and consistency.After #2 is finished, I could run the code through WebStorm code analysis and fix the syntax one way or the other, if desired. It's only a few lines, so not too much trouble, actually :)
The text was updated successfully, but these errors were encountered: