1
0
mirror of https://github.com/ppy/osu.git synced 2024-09-22 02:07:34 +08:00
Commit Graph

35 Commits

Author SHA1 Message Date
Bartłomiej Dach
442b61da84
Disable primary constructor related inspections
I'm not actually sure whether the editorconfig incantation does anything
but it's the one official sources give:

	https://learn.microsoft.com/en-us/dotnet/fundamentals/code-analysis/style-rules/ide0290
2024-06-04 15:14:56 +02:00
Dean Herbert
2cd5a4c6c2 Add generated code hints in editorconfig / dotsettings 2023-07-07 22:38:07 +09:00
Dean Herbert
3d55a0291f Prefer block scoped namespaces 2023-05-05 16:06:02 +09:00
Huo Yaoyuan
701ddade47 Revert editorconfig changes from framework 2022-05-06 01:32:37 +08:00
Huo Yaoyuan
547038f13b Align editorconfig with framework 2022-05-03 14:28:53 +08:00
Dan Balasescu
d7441fbcd4 Move diagnostic down 2022-04-29 12:16:37 +09:00
Dean Herbert
14316855f9 Add localisation length hinting 2022-04-28 19:26:28 +09:00
Dean Herbert
1d7e97625a Update var usage inspections to disallow for built-in types 2021-10-27 12:57:43 +09:00
smoogipoo
cd0fb2f436 Remove namespace from sln's .editorconfig 2021-08-02 11:52:10 +09:00
smoogipoo
356c157d1f Add localisation options to sln's .editorconfig 2021-08-02 11:49:21 +09:00
PercyDan54
a4545051f2
Suppress IDE0042 2021-07-05 23:36:15 +08:00
PercyDan54
fdfdfeecab
Suppress IDE0057 2021-07-05 23:36:10 +08:00
Dean Herbert
f8ae70e562 Update existing function type rather than adding an override 2021-06-02 16:04:53 +09:00
smoogipoo
996b6a1e57 Add Enum.HasFlag to banned symbols 2021-02-25 15:38:43 +09:00
Shane Woolcock
6358f4a661 Disable CA2225 warning regarding operator overloads 2020-08-20 17:33:08 +09:30
Dean Herbert
a6cac072ee Change default method style for better IDE autocompletion 2020-01-28 15:32:48 +09:00
Huo Yaoyuan
c457571da6 Use index and range expressions 2019-12-15 20:17:35 +08:00
Huo Yaoyuan
2d46eed8ae Turn on missing rules. 2019-11-12 20:15:55 +08:00
Huo Yaoyuan
f3f5094c26 Convert delegate to local function. 2019-11-12 20:14:22 +08:00
Huo Yaoyuan
5f3e9a791c Disable suggestions not applicable for this PR. 2019-11-12 19:56:56 +08:00
Huo Yaoyuan
144812669d Use static local functions. 2019-11-12 19:56:54 +08:00
Huo Yaoyuan
64fc5007fc Use language primitive types. 2019-11-12 19:56:45 +08:00
Huo Yaoyuan
205eda8566 Use readonly field when not reflected. 2019-11-12 19:56:43 +08:00
Huo Yaoyuan
ca52d09e81 Enforce expression body for typical simple ones. 2019-11-12 19:56:37 +08:00
Huo Yaoyuan
8a1b70513c No this. qualification. 2019-11-12 19:55:29 +08:00
Huo Yaoyuan
31cc0d13da Use 'out var'. 2019-11-12 19:55:26 +08:00
Huo Yaoyuan
0d81b96c5f Use deconstruction declaration. 2019-11-12 19:55:22 +08:00
Huo Yaoyuan
e5e8e70704 Use pattern matching. 2019-11-12 19:55:19 +08:00
Huo Yaoyuan
7d7b9e36b2 Use compound assignment. 2019-11-12 19:53:50 +08:00
Huo Yaoyuan
4b75e0bf6a Redundant assignment. 2019-11-12 19:53:47 +08:00
Huo Yaoyuan
bbeab6fa76 Use auto property. 2019-11-12 19:53:25 +08:00
Huo Yaoyuan
1ef645a710 Turn off some more not applied styles. 2019-11-11 21:02:48 +08:00
Huo Yaoyuan
3d1c31f2ae Copy configs from framework repo. 2019-11-11 20:13:12 +08:00
Huo Yaoyuan
3208b3d8b4 EditorConfig naming style settings for vs2017. 2017-02-28 11:37:08 +08:00
Dean Herbert
6cbbeaaac0 Initial commit. 2016-08-26 14:41:47 +09:00