Skip to content

Commit 087e1ac

Browse files
committed
Update CA docs.
1 parent 29a984e commit 087e1ac

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

src/Stratis.CodeAnalysis.Cs/README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ This tool is a Roslyn analyzer that provides static analysis and validation of S
44
# Installation
55
You need to add the Stratis.DevEx [package dev feed](https://www.myget.org/F/stratisdevex/api/v3/index.json) to your NuGet package sources e.g. in Visual Studio goto Tools->Options->NuGet Package Manager->Package Sources and add the URL https://www.myget.org/F/stratisdevex/api/v3/index.json.
66
![img](https://phx02pap002files.storage.live.com/y4mFcBqajfZXbydpDpjiAiulclR9coMXZSydLbTxLKGfz9tyH2m4w86rPrkZ-413id1Wx5nhdOiS6CnnLu7EHEs10pv7J80zhwTaA8WPv3-ZQ3mGB_eHI7Fke3K4rCv501KDPyf7I3PGS1vLfoQhZtzfECq2tUXp6xEWr9sVZxp1ONLZVDSDweix3scfSCO8TZ7?width=1918&height=963&cropmode=none)
7-
Then install the latest version of the package.
7+
Make sure you select to inlude prerelease packages in the NuGet browser window. Then install the latest version of the package.
88

99
# Usage
1010
The analyzer can be configured using `%AppData%\StratisDev\stratisdev.cfg`. Logfiles are written to the same folder.
@@ -27,6 +27,6 @@ To help diagnose issues set `Debug=True` in the global configuration file and re
2727
| SC0008 | Only certain types and members can be used in smart contract code | Error |
2828
| SC0009 | Cannot use this method here | Error |
2929
| SC0010 | An assert condition should be derived from input or state | Warning |
30-
| SC0011 | Custom assert message should be used, as this can be parsed to identify reason for failure | Warning |
31-
| SC0012 | Assert message should not be empty, as this can be parsed to identify reason for failure | Warning |
30+
| SC0011 | Custom assert message should be used, as this can be parsed to identify reason for failure | Info |
31+
| SC0012 | Assert message should not be empty, as this can be parsed to identify reason for failure | Info |
3232

src/Stratis.CodeAnalysis.Cs/Stratis.CodeAnalysis.Cs/Resources.Designer.cs

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/Stratis.CodeAnalysis.Cs/Stratis.CodeAnalysis.Cs/Resources.resx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -154,7 +154,7 @@
154154
<comment>The title of the diagnostic.</comment>
155155
</data>
156156
<data name="SC0003_Description" xml:space="preserve">
157-
<value>Classes in smart contract code must inherit from Stratis.SmartContrsct</value>
157+
<value>Classes in smart contract code must inherit from Stratis.SmartContract</value>
158158
</data>
159159
<data name="SC0003_MessageFormat" xml:space="preserve">
160160
<value>Class {0} must inherit from class Stratis.SmartContracts.SmartContract</value>

0 commit comments

Comments
 (0)