Nyalab / caniuse-api

request the caniuse data to check browsers compatibilities
MIT License
356 stars 27 forks source link

Proper coding standards #5

Closed ooflorent closed 9 years ago

ooflorent commented 9 years ago

The current CS are not consistent:

Maybe something like: https://github.com/felixge/node-style-guide

MoOx commented 9 years ago

Please just add .eslint + .jscs :)

ooflorent commented 9 years ago

eslint is not ES6 compatible:

What about ECMAScript 6 support?

At the moment, ES6 support is turned off due to the experimental nature of the support in Esprima. There is basic support for let and const, but aside from that, the rest of the features are unsupported. We will re-evaluate ES6 support for v0.9.0.

MoOx commented 9 years ago
$ npm i eslint@es6jsx

U r welcome :)