Skip to content

Commit 18ecf92

Browse files
committed
docs,README: update docs
To reflect changes in tool name from dotnet-fsharplint to fsharplint.
1 parent 7fc8646 commit 18ecf92

File tree

2 files changed

+7
-3
lines changed

2 files changed

+7
-3
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ The [docs](http://fsprojects.github.io/FSharpLint/) contain an overview of the t
3232

3333
Package | Version
3434
------- | --------
35-
[dotnet tool](https://www.nuget.org/packages/dotnet-fsharplint/) | [![NuGet Status](http://img.shields.io/nuget/v/dotnet-fsharplint.svg?style=flat)](https://www.nuget.org/packages/dotnet-fsharplint/)
35+
[dotnet tool](https://www.nuget.org/packages/fsharplint/) | [![NuGet Status](http://img.shields.io/nuget/v/fsharplint.svg?style=flat)](https://www.nuget.org/packages/fsharplint/)
3636
[API](https://www.nuget.org/packages/FSharpLint.Core/) | [![NuGet Status](http://img.shields.io/nuget/v/FSharpLint.Core.svg?style=flat)](https://www.nuget.org/packages/FSharpLint.Core/)
3737

3838
## How to build

docs/content/how-tos/install-dotnet-tool.md

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,12 +8,16 @@ menu_order: 1
88

99
The linter can be [installed as a dotnet tool](https://docs.microsoft.com/en-us/dotnet/core/tools/dotnet-tool-install).
1010

11-
Install as a global tool: `dotnet tool install -g dotnet-fsharplint`.
11+
Install as a global tool: `dotnet tool install -g fsharplint`.
1212

13-
Install as tool to specific directory: `dotnet tool install --tool-path <my_directory> dotnet-fsharplint`
13+
Install as tool to specific directory: `dotnet tool install --tool-path <my_directory> fsharplint`
1414

1515
## Running the Console Application
1616

1717
The console application is a wrapper around the linter. For basic usage, just run `dotnet fsharplint lint <input>`, where `input` can be an fsproj, sln, fs, fsx file, or a string of source code.
1818

19+
I finstalled as a global tool, run it as `fsharplint lint <input>`, wihtout `dotnet`.
20+
21+
On .NET 10 and above, `dnx fsharplint` may be used instead to install and/or run FSharpLint tool.
22+
1923
Run `dotnet fsharplint --help` for full usage information.

0 commit comments

Comments
 (0)