From f0c480ef4b429c3ebf657409c3a27715446aeb3a Mon Sep 17 00:00:00 2001 From: goat <16760685+goaaats@users.noreply.github.com> Date: Sun, 28 Mar 2021 15:08:13 +0200 Subject: [PATCH] fix: adjust StyleCop rules --- Dalamud/stylecop.json | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/Dalamud/stylecop.json b/Dalamud/stylecop.json index a6910727c..aaefb4f82 100644 --- a/Dalamud/stylecop.json +++ b/Dalamud/stylecop.json @@ -2,7 +2,15 @@ "$schema": "https://raw.githubusercontent.com/DotNetAnalyzers/StyleCopAnalyzers/master/StyleCop.Analyzers/StyleCop.Analyzers/Settings/stylecop.schema.json", "settings": { "documentationRules": { - "companyName": "PlaceholderCompany" + + }, + "orderingRules": { + "systemUsingDirectivesFirst": true, + "usingDirectivesPlacement": "outsideNamespace", + "blankLinesBetweenUsingGroups": "require" + }, + "maintainabilityRules": { + "topLevelTypes": ["class", "interface", "struct", "enum"] } } }