Skip to content
This repository has been archived by the owner on Jun 17, 2019. It is now read-only.

rule proposal: method names #73

Open
gabro opened this issue Sep 5, 2016 · 2 comments
Open

rule proposal: method names #73

gabro opened this issue Sep 5, 2016 · 2 comments

Comments

@gabro
Copy link
Member

gabro commented Sep 5, 2016

proposal: method names should never start with _. I mostly agree with AirBnb, after reading this discussion airbnb/javascript#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
Copy link
Contributor

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
Copy link
Member Author

gabro commented Sep 6, 2016

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

eslint/eslint#7065

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants