Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
  • Dec 01 14:17
    JadaVonRuth opened #240
  • Nov 24 04:03
    allves90-star commented #210
  • Nov 02 22:43
    RobinHood70 opened #239
  • Oct 30 20:23
    manekovskiy edited #238
  • Oct 30 01:28
    manekovskiy opened #238
  • Oct 25 20:09
    RealHabix opened #237
  • Oct 16 08:07
    ishatalkin opened #236
  • Oct 14 17:07
    Fabi0San commented #223
  • Oct 14 17:01
    Fabi0San opened #235
  • Oct 14 15:50
    Fabi0San commented on c57f3fb
  • Oct 14 15:40
    Fabi0San commented on c57f3fb
  • Oct 14 15:38
    Fabi0San commented on c57f3fb
  • Oct 08 11:04
    talhazengin commented #230
  • Oct 02 14:07
    rovinbhandari commented #104
  • Sep 27 08:54
    MatejQ opened #234
  • Aug 26 16:59
    elizatarasila edited #233
  • Aug 26 16:54
    elizatarasila opened #233
  • Aug 26 09:40
    Thanaen opened #232
  • Aug 02 16:05
    sely2k opened #231
  • Jul 30 13:17
    wisepotato commented #201
Matthias Koch
@matkoch
SanjayGuntur
@SanjayGuntur
@matkoch Yes please.
Tobias Trunehag
@t0bbz0n
Any release plan for next version of StyleCop.Resharper?
Matthias Koch
@matkoch
@t0bbz0n Very soon, I will mention it here probably this week
Tobias Trunehag
@t0bbz0n
@matkoch great, thanks! :)
Matthias Koch
@matkoch
Tobias Trunehag
@t0bbz0n
@matkoch thanks a bunch!
Joseph Musser
@jnm2
@sharwell Weird enough? StyleCop/StyleCop#207
Sam Harwell
@sharwell

American English grammar requires closing quotes to be placed after the period, quite unlike a programming language.

I disagree and refuse to follow this.

The language is incorrect.
Joseph Musser
@jnm2
I noticed. However, I'm certainly not going to ask to restrict you to do such a thing. Please simply allow me to follow the majority standard without pain.
Sam Harwell
@sharwell
On a totally separate note, did you mean to file an issue on this project?
Joseph Musser
@jnm2
Oops, no.
Sam Harwell
@sharwell
:laughing:
I regret implementing SA1629. We should have intentionally omitted it with some of the others like spelling.
Joseph Musser
@jnm2
I like it, actually. It's an inconsistency that's really hard to keep track of.

It's an inconsistency that's really hard to keep track of.

Even in my own code, let alone my team's.

lvxg177177
@lvxg177177
why I Cant find the styleCop in Resharper Extensions?
mohamed es-sanousy
@essanousy
is there a document containing all the rules for C# naming convention ?
mohamed es-sanousy
@essanousy
@jnm2 yes, thank you
Rafael
@Escoto
is there a expected date for a stable v6?
Chris Dahlberg
@csdahlberg
@SanjayGuntur do you have any in-progress work or any other reason to postpone a stable release? if not, i can make one soon.
Rafael
@Escoto
so, beta is working for me, but people here is panicking because of a 'beta' nuget that checks styles
Chris Dahlberg
@csdahlberg
I don't remember seeing any new bugs reported due to changes in v6, so unless Sanjay wants to wrap up something he's working on I don't have a reason to not publish a stable version.
Rafael
@Escoto
Hi @csdahlberg @SanjayGuntur any updates on the v6 release? :v
Chris Dahlberg
@csdahlberg
I'm tentatively planning to publish a stable build sometime this weekend (possibly tonight).
Rafael
@Escoto
Great, hope you find the time ;)
Chris Dahlberg
@csdahlberg
@Escoto I just published a stable build of v6.0.0 for both the VS extension and the NuGet packages
Rafael
@Escoto
Awesome thanks!
Michał Szewczak
@michasacuer
Hi! Can i install StyleCop on Visual Studio 2019?
Because when i try, i get an error that there is no installed instance of supported software
Simon Novak
@snovak7
Hello, does style cop works as MSBuild on .NET Core projects, mine somehow doesn't want to read stylecop.json
Sam Harwell
@sharwell
stylecop.json is the configuration file for a difference project (StyleCop Analyzers).
Simon Novak
@snovak7
@sharwell ?
Sam Harwell
@sharwell
Yes, that's a different project. I'll get a link to the gitter room for it.
Simon Novak
@snovak7
With this package it works :)
what’s the difference
Sam Harwell
@sharwell
They are totally different projects. The only thing they share is part of a name
Simon Novak
@snovak7
but what is weird warning codes are the same
or at least similar
So they must share something
Pavilion Sahota
@pavilionuk

Hey guys, I want your opinion(s) on something, what are your thoughts on using var over strongly typing in C#? Personally, I feel that when you declare a variable, you're almost always assigning type, E.g. MyObject myObj = new MyObject();
I feel like you repeat yourself when strongly typing, It also keeps all your variables nice and inline

var myObj = new MyObject();
var usersTable = new DataTable();
var builder = new Builder();
^ nice and neat

whereas strongly typing your variables strews them from side to side

MyObject myObj = new MyObject();
DataTable usersTable = new DataTable();
Builder builder = new Builder();

I'd love to hear your thoughts :)

shayslonim
@shayslonim
@pavilionuk personally I prefer the second option over the first one.
I find it more readable, and using var doesn't make the code significantly better looking - this is only a small change
Nambi
@nambi_r_twitter
Does stylecop can be added as part of Task in Azure Devops build pipeline. I see it as deprecated. ANy idea. I need to use for dotnet core 3.0
Nambi
@nambi_r_twitter
hello cops
Pavilion Sahota
@pavilionuk
@nambi_r_twitter Not entirely sure, but I know you can treat stylecop warnings as errors which will fail the build.