Add guides around code organization and file formatting #3
+231
−1
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
FMS is a large code base without much consistency in how its organized on a file level. Models, controllers, and tests all have different code groupings which this commit seeks to standardize.
This is just a rough first draft. I realize code organization is probably a contentious topic for some so I'd like as much feedback as possible.
The end goal, and what @adamnengland and I discussed, is to create some checks in Pronto to ensure files are organized according to the standards we all agree on here.
This style guide is great, but it's a passive resource. If we can get more checks for things like this (and commit messages, which I've discussed a bit with @thetimbanks) I think we'd see a marked increase in our code quality.