Mikael Lindemann
6a40ca7c9d
Moved new analyzers to shipped.
2020-08-20 17:00:14 +02:00
Mikael Lindemann
93d3e91174
Targeted Piranha 8.4.0
2020-08-20 16:52:09 +02:00
Mikael Lindemann
d9da28f455
Reimplemented SingleFieldComplexRegionAnalyzer to avoid call to Compilation.GetSemanticModel()
2020-08-16 17:52:04 +02:00
Mikael Lindemann
ddf1b3db13
Bumped library versions. Retargeted Piranha 8.3.0
2020-08-16 14:00:09 +02:00
Mikael Lindemann
b3a95d284b
Remove unused Piranha dependency from analyzers project.
2020-05-13 12:08:43 +02:00
Mikael Lindemann
d6e7d6f9bc
Merge pull request #14 from PiranhaCMS/feature/sitetypes-should-inherit-sitecontent
...
PA0005: Check that classes marked with [SiteType] inherits SiteContent.
2020-05-13 12:07:27 +02:00
Mikael Lindemann
1aa677cd94
PA0005: Check that classes marked with [SiteType] inherits SiteContent.
2020-05-13 12:06:01 +02:00
Mikael Lindemann
f4d3f2e337
Merge pull request #13 from PiranhaCMS/feature/pagetypes-should-inherit-page
...
PA0004: Check that classes marked with [PageType] inherits Page.
2020-05-13 12:03:22 +02:00
Mikael Lindemann
fbd7891ca5
PA0004: Check that classes marked with [PageType] inherits Page.
2020-05-13 12:01:56 +02:00
Mikael Lindemann
fb6b3e91d6
Merge pull request #12 from PiranhaCMS/feature/posttypes-should-inherit-post
...
[PostType]s should inherit Post
2020-05-13 11:51:30 +02:00
Mikael Lindemann
9f1bc9a61d
Only fetch static types once per analysis.
2020-05-13 11:37:28 +02:00
Mikael Lindemann
1272a31b4d
Usings and license texts.
2020-05-13 10:59:58 +02:00
Mikael Lindemann
c02b3e20c9
Merge branch 'master' into feature/posttypes-should-inherit-post
2020-05-13 10:55:50 +02:00
Mikael Lindemann
d06e6c4ad2
AppVeyor: Build version.
2020-05-13 10:53:50 +02:00
Mikael Lindemann
742f228c89
Merge branch 'master' into feature/posttypes-should-inherit-post
2020-05-13 10:47:37 +02:00
Mikael Lindemann
cf1de268fb
Fix build after package upgrade.
2020-05-13 10:46:33 +02:00
Mikael Lindemann
aa3c052bdf
PA0003: Check that classes marked with [PostType] inherits Post.
2020-05-13 10:44:59 +02:00
Mikael Lindemann
63fa0d3db7
Upgrade piranha version.
2020-05-13 10:42:56 +02:00
Mikael Lindemann
68f3454f40
Upgrade of code analysis packages.
...
Also, added AnalyzerReleases.*.md as per new analyzer warnings.
2020-05-13 10:39:10 +02:00
Mikael Lindemann
d20a9accc9
Merge pull request #11 from PiranhaCMS/issues/10
...
Fix debug build due to packaging error.
2020-04-16 12:11:07 +02:00
Mikael Lindemann
0b0005e50e
Fix debug build due to packaging error.
...
Fixes #10 .
2020-04-16 12:09:04 +02:00
Mikael Lindemann
26bd098ca9
Added docs directory with descriptions of current analyzers.
2020-03-15 19:23:18 +01:00
Mikael Lindemann
47983e0721
MoveToExistingComplexRegion: Support for region and content class in same source file
...
This fixes a bug where the code fix provider would change the initial version of the original source file, rather than the already changed one.
2020-03-15 19:18:53 +01:00
Mikael Lindemann
4fca1294b4
PA0001: Change to info level.
2020-03-15 19:16:56 +01:00
Mikael Lindemann
8614a91557
Fix messages in tests.
2020-03-15 17:15:59 +01:00
Mikael Lindemann
6d896159c0
Support partial classes when detecting single field complex regions.
...
Also fixes an issue where the analyzer would throw an exception if a region class was not declared in the same source as the content type trying to use it.
Fixes #9 (again)
2020-03-15 17:13:25 +01:00
Mikael Lindemann
788a3fc086
Added Piranha icon to the NuGet package.
...
Solves #6 .
2020-03-15 15:42:31 +01:00
Mikael Lindemann
bec4854617
Added analyzer to mark single field complex regions as a programmer mistake.
...
Also, disabled code fix provider that would introduce such regions.
Solves #9 .
2020-03-15 15:41:29 +01:00
Mikael Lindemann
d0433345e0
Supply nuspec version through project file.
2020-02-25 20:53:24 +01:00
Mikael Lindemann
619da70fa1
NuspecFile for analyzers project.
2020-02-25 20:50:32 +01:00
Mikael Lindemann
10805ce169
Microsoft.CodeAnalysis.Analyzers => Dev dependency.
2020-02-25 20:35:32 +01:00
Mikael Lindemann
623edab781
Merge pull request #5 from PiranhaCMS/feature/move-field-to-existing-region
...
Add code fix provider to move field to existing region.
2020-02-25 20:22:29 +01:00
Mikael Lindemann
9ca22a4e16
Add code fix provider to move field to existing region.
...
Fixes #1
2020-02-25 20:20:29 +01:00
Mikael Lindemann
2a455c34d6
Piranha 8.1.0 - Upgraded packages - Fixed analyzer warnings.
2020-02-25 19:53:24 +01:00
Mikael Lindemann
0246c2fae2
Only use release for artifacts.
2020-02-25 19:37:03 +01:00
Mikael Lindemann
16e5848db6
Added appveyor.yml
2020-02-25 19:35:08 +01:00
Mikael Lindemann
0ac5ecdf93
Another try at tests with newlines.
2020-02-25 19:17:33 +01:00
Mikael Lindemann
7cc3fb987d
Newlines in test sources as well.
2020-02-25 19:09:34 +01:00
Mikael Lindemann
2fd311440d
Tests: Make newlines from output follow environment.newline
2020-02-25 18:53:23 +01:00
Mikael Lindemann
e319e51a75
Analyzer to warn against fields not intended for single field regions.
...
Also contains a code fix provider that will suggest to move the field into a complex region.
2020-02-08 20:21:59 +01:00
Håkan Edling
ad43a89fcc
Initial commit
2020-02-07 21:02:48 +01:00