metarhia / metasync

Asynchronous Programming Library for JavaScript & Node.js
https://metarhia.com
MIT License
206 stars 35 forks source link

Create eslint rule for chain execution #141

Open DzyubSpirit opened 7 years ago

DzyubSpirit commented 7 years ago

For example

tshemsedinov commented 7 years ago

Yes, it would be great and needed for other projects too.

DzyubSpirit commented 7 years ago

One rule which I appreciate is if code style pass linter checks then code style is good. And comment in example is about code style of methods chain execution. So I think it should be defined as rule for linter which restricts chaining methods in one line. @tshemsedinov, is it a good idea and should I work on it? I ask because in real life you understand rules differently from as I think.