Skip to content

Commit fcd6c47

Browse files
committed
Add analyzers to IDE for the new nuget config
1 parent 922a5dc commit fcd6c47

File tree

2 files changed

+7
-4
lines changed

2 files changed

+7
-4
lines changed

.vscode/settings.json

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,5 @@
1010
"BackgroundCompiler."
1111
],
1212
"FSharp.fsac.parallelReferenceResolution": false,
13-
"FSharp.enableAnalyzers": true,
14-
"FSharp.analyzersPath": [
15-
"packages/analyzers"
16-
]
13+
"FSharp.enableAnalyzers": true
1714
}

src/Directory.Build.props

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,4 +41,10 @@
4141
</ItemGroup>
4242
</Otherwise>
4343
</Choose>
44+
45+
<ItemGroup>
46+
<PackageReference Include="Ionide.Analyzers" PrivateAssets="All" />
47+
<PackageReference Include="G-Research.FSharp.Analyzers" PrivateAssets="All" />
48+
</ItemGroup>
49+
4450
</Project>

0 commit comments

Comments
 (0)