buildo / eslint-config

buildo's eslint shared config
http://buildo.io
4 stars 2 forks source link

rule proposal: method names #73

Open gabro opened 8 years ago

gabro commented 8 years ago

proposal: method names should never start with _. I mostly agree with AirBnb, after reading this discussion https://github.com/airbnb/javascript/issues/1024

We could use this brand new eslint plugin to enforce it https://github.com/buildo/eslint-plugin-method-names/tree/master 💯

@buildo/frontend

FrancescoCioria commented 8 years ago

For me it's ok, but we'll have to fix a lot of code for this (ex: I did it once today :P)

gabro commented 8 years ago

by the way, I'm proposing this as a core rule on ESLint, let's see whether it gets accepted.

https://github.com/eslint/eslint/issues/7065