From 6aa9fdec729cfd11378af21f4bf7feb838abc371 Mon Sep 17 00:00:00 2001 From: ckipp01 Date: Tue, 14 Apr 2020 21:44:13 +0200 Subject: [PATCH] small update to getting started --- docs/users/installation.md | 6 +++--- website/i18n/en.json | 3 +++ website/package.json | 2 +- 3 files changed, 7 insertions(+), 4 deletions(-) diff --git a/docs/users/installation.md b/docs/users/installation.md index 490d014a9..4de4ee06a 100644 --- a/docs/users/installation.md +++ b/docs/users/installation.md @@ -11,7 +11,7 @@ pull request is tested on both Linux and Windows. **Java 8 or Java 11.** **Scala 2.11, 2.12 or 2.13**: Scalafix works only with the latest version of Scala -2.11, Scala 2.12 and Scala 2.13. +2.11, Scala 2.12 and Scala 2.13. | Scalafix | Scala Compiler | Scalameta | | --------- | ------------------------------------ | ----------- | @@ -60,8 +60,8 @@ RemoveUnused ... The first error message means the [SemanticDB](https://scalameta.org/docs/semanticdb/guide.html) compiler plugin is not enabled for this project. The second error says `RemoveUnused` requires -the Scala compiler option `-Ywarn-unused`. To fix both problems, add the -following settings to `build.sbt` +the Scala compiler option `-Ywarn-unused-import` (or `-Wunused:imports` in +2.13.x). To fix both problems, add the following settings to `build.sbt` ```diff // build.sbt diff --git a/website/i18n/en.json b/website/i18n/en.json index b6651b96d..be0556cc9 100644 --- a/website/i18n/en.json +++ b/website/i18n/en.json @@ -43,6 +43,9 @@ "rules/DisableSyntax": { "title": "DisableSyntax" }, + "rules/ExplicitResultTypes": { + "title": "ExplicitResultTypes" + }, "rules/external-rules": { "title": "Using external rules", "sidebar_label": "Using external rules" diff --git a/website/package.json b/website/package.json index 2b956ae84..449150096 100644 --- a/website/package.json +++ b/website/package.json @@ -9,6 +9,6 @@ "rename-version": "docusaurus-rename-version" }, "devDependencies": { - "docusaurus": "^1.4.0" + "docusaurus": "1.14.4" } }