From 287f714d93292f890b919cb0fb969ca04bed38f8 Mon Sep 17 00:00:00 2001 From: JP Dillingham Date: Tue, 9 Feb 2021 08:46:25 -0600 Subject: add stylecop and analysis ruleset --- src/slskd/Properties/stylecop.json | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 src/slskd/Properties/stylecop.json (limited to 'src/slskd/Properties/stylecop.json') diff --git a/src/slskd/Properties/stylecop.json b/src/slskd/Properties/stylecop.json new file mode 100644 index 00000000..7d848f1a --- /dev/null +++ b/src/slskd/Properties/stylecop.json @@ -0,0 +1,27 @@ +{ + "$schema": "https://raw.githubusercontent.com/DotNetAnalyzers/StyleCopAnalyzers/master/StyleCop.Analyzers/StyleCop.Analyzers/Settings/stylecop.schema.json", + "settings": { + "orderingRules": { + "systemUsingDirectivesFirst": true, + "usingDirectivesPlacement": "insideNamespace" + }, + "maintainabilityRules": { + "topLevelTypes": [ + "class", + "delegate", + "enum", + "interface" + ] + }, + "documentationRules": { + "documentPrivateElements": false, + "documentPrivateFields": false, + "companyName": "slskd Team", + "copyrightText": " Copyright (c) {companyName}. All rights reserved.\n\n This program is free software: you can redistribute it and/or modify\n it under the terms of the GNU Affero General Public License as published\n by the Free Software Foundation, either version 3 of the License, or\n (at your option) any later version.\n\n This program is distributed in the hope that it will be useful,\n but WITHOUT ANY WARRANTY; without even the implied warranty of\n MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n GNU Affero General Public License for more details.\n\n You should have received a copy of the GNU Affero General Public License\n along with this program. If not, see https://www.gnu.org/licenses/.", + "variables": { + "licenseName": "AGPLv3", + "licenseFile": "LICENSE" + } + } + } +} \ No newline at end of file -- cgit v1.2.3