Page MenuHomePhabricator

csharp: Add StyleCop support to dotnet build
Needs ReviewPublic

Authored by lauromoura on Oct 16 2019, 8:18 PM.

Details

Summary

This patch builds on top of D9717 by adding support to run the StyleCop
rules (It imported the initial ruleset from P278 in
src/bindings/mono/ca.ruleset).

Depends on D9717

Diff Detail

Repository
rEFL core/efl
Branch
dotnet (branched from master)
Lint
No Linters Available
Unit
No Unit Test Coverage
Build Status
Buildable 14048
Build 9754: arc lint + arc unit
lauromoura created this revision.Oct 16 2019, 8:18 PM
lauromoura requested review of this revision.Oct 16 2019, 8:18 PM

This may help us clean up the API more easily than running stylecop separately.

This initial ruleset shows 25k warnings building the EFL# dll. Probably we will want first to disable everything and work on each rule individually.

I'm planning also to add some options to make StyleCop optional (in this patch it is mandatory) and providing custom rulesets.