aboutsummaryrefslogtreecommitdiffstats
path: root/src/slskd/Properties/stylecop.json
diff options
context:
space:
mode:
Diffstat (limited to 'src/slskd/Properties/stylecop.json')
-rw-r--r--src/slskd/Properties/stylecop.json27
1 files changed, 27 insertions, 0 deletions
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