OrchardCore icon indicating copy to clipboard operation
OrchardCore copied to clipboard

Coding style

Open agriffard opened this issue 2 years ago • 4 comments

Add coding style instructions.

Inspired by https://github.com/dotnet/SqlClient/blob/main/coding-style.md

Check if it is in adequation with our .editorConfig.

agriffard avatar Nov 20 '21 11:11 agriffard

Will review early next week.

Piedone avatar Nov 27 '21 17:11 Piedone

What about placing each type in a seperate file, coz we have a lot of types placed into a single file

hishamco avatar Nov 29 '21 11:11 hishamco

I think here we should also define Text format across the board. For example, how should the menu item be formatted or the page title. There is few menu items that are not consistent with other formats. Here is a great place for standards we could adopt

MikeAlhayek avatar Jul 07 '22 22:07 MikeAlhayek

@CrestApps Maybe in an Admin UI design guideline.

Skrypt avatar Jul 09 '22 03:07 Skrypt

Is this something you'd like to revisit and finish @agriffard?

Piedone avatar Jan 10 '24 01:01 Piedone

No, closing it.

.editor.config should be the reference file for suggesting coding styles.

agriffard avatar Jan 10 '24 09:01 agriffard