aboutsummaryrefslogtreecommitdiffstats
path: root/src/slskd/Properties/stylecop.json
diff options
context:
space:
mode:
authorJP Dillingham <jpdillingham@gmail.com>2021-02-13 17:05:59 -0600
committerGitHub <noreply@github.com>2021-02-13 17:05:59 -0600
commit034eff1ad47a4ac976237d4e13c596ba1404cd2f (patch)
tree8d9650d86237fe511a600ae58016b1ff3de3a389 /src/slskd/Properties/stylecop.json
parentaec49da74c08865353faae4d97fb4e405ae970e5 (diff)
parent1744c9b2ded05a8a83874864957229a3235fb546 (diff)
downloadslskd-034eff1ad47a4ac976237d4e13c596ba1404cd2f.tar.gz
Merge pull request #40 from slskd/housekeeping
Tidy up
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