Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Rename all files in our /models folder to plural #7

Open
oieeaaaa opened this issue Oct 22, 2020 · 0 comments
Open

Rename all files in our /models folder to plural #7

oieeaaaa opened this issue Oct 22, 2020 · 0 comments
Assignees
Labels
enhancement New feature or request
Projects

Comments

@oieeaaaa
Copy link
Owner

oieeaaaa commented Oct 22, 2020

Change the filename to plural
Example:
js/models/item -> js/models/items

The next step is to make model imports & use cases plural
Example:
import ITEM from 'js/models/item' -> import ITEMS from 'js/models/items'
ITEM.getOne(...) -> ITEMS.getOne(...)

@oieeaaaa oieeaaaa added the enhancement New feature or request label Oct 22, 2020
@oieeaaaa oieeaaaa added this to To do in Pre-Palit via automation Oct 22, 2020
@oieeaaaa oieeaaaa assigned LeeAndrew14 and unassigned jpamplona and LeeAndrew14 Oct 22, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
Pre-Palit
  
To do
Development

No branches or pull requests

3 participants