DEV Community

Maxim Nosov ✪
Maxim Nosov ✪

Posted on

Adding feature to a project

Hello!

Static site generator feature

This week I've been working on another student repo. I had to make a feature that will allow user to specify all of their SSG options in a JSON formatted configuration file instead of having to pass them all as command line arguments every time.

It didn't took much time to understand how things work, since I was writing a code in the same language, that I'm familiar with(JavaScript).

Concern

The only thing I was concerned about is that I need to make sure that I write code in the same style as the project author, so that my code doesn't have any confusions for project maintainer.

I see that some big projects use prettier(or other code formatter). I believe it's a very good idea and I would definitely use it in my next project, because the code will have the same format and won't stand out.

Summary

I enjoyed working on open source project and making some improvements. It's a great feeling when you make something working to make other people life easier.

Top comments (0)