kontent-ai / sample-app-vue

A sample website written in JavaScript and Vue utilizing the Kontent.ai Delivery API to manage and retrieve content.
https://kontent-sample-app-vue.netlify.app
MIT License
24 stars 36 forks source link

Define common code format #6

Closed Simply007 closed 6 years ago

Simply007 commented 6 years ago

It would be great to have a common format specification for the components.

At least have all the vue components with same format:

cbeard87 commented 6 years ago

Hey! I'd be down to work on this.

My employer is looking into moving some of our Kentico CMS projects over to Kentico Cloud and Vue, so we've been setting up similar configs internally.

Simply007 commented 6 years ago

Hello @cbeard87,

that would be great! Do you need any guidance?

If you accept the collaborator invite I've just sent you, we'll be able to assign the issue directly to you.

cbeard87 commented 6 years ago

@Simply007 For right now I can just go ahead and pull the ESLint config out of the package.json and into its own file.

Aside from the tab sizing options, are there any other conventions we'd like to standardize around?

Simply007 commented 6 years ago

I would recommend going through the configuration used by official CLI:

In my opinion, it is the best choice to follow their recommendations and default set up.