neon-bindings / neon

Rust bindings for writing safe and fast native Node.js modules.
https://www.neon-bindings.com/
Apache License 2.0
8k stars 283 forks source link

add code style and linter support for neon-cli subproject #496

Open amilajack opened 4 years ago

amilajack commented 4 years ago

Inspired by https://github.com/neon-bindings/neon/pull/388#discussion_r385855970

Main rules:

Prettier is a great option for code styling and ESlint is a great option now (over TSLint, which is now deprecated). ESLint now has full support for TypeScript with a wide array of rules that cater to TypeScript specifically.

Would love feedback on these suggestions!

dherman commented 4 years ago

These sound good to me! If you want to submit a PR I'll be happy to review!