michaeljolley / awesum.io

awesum.io is a platform built to recognize those who have helped others in some way.
https://awesum.io
MIT License
3 stars 4 forks source link

Add an editorconfig/other code style tool to maintain preferred standards #1

Open cmjchrisjones opened 5 years ago

cmjchrisjones commented 5 years ago

The other day you mentioned your preferred standards around when it came to using directives, from what I gather it was

using System;
using System.Collections.Generic;

using Microsoft.Azure.WebJobs;
using Microsoft.Extensions.Logging;

using AwesumIO.Core.Common;
using AwesumIO.Core.Business;

namespace AwesumIO.Functions
{
    ...
    // code
    ...
}

I believe we can achieve consistency by using something like an editorconfig to ensure these guidelines are met - do you have any others from the top of your head you can think of, if you want to take this approach, EG

There's loads of options - just thought I'd raise an issue, and I might even take a stab at it over the weekend :)

michaeljolley commented 4 years ago

This would be a great addition! We might even want to look at adding a .prettierrc & .eslintrc to the portal project so that we're standardized in Vue as well.