From a6cf40bc1aa562b4bc317c4c65b06505c7fd7ba7 Mon Sep 17 00:00:00 2001 From: Mathias Schreck Date: Fri, 25 Oct 2019 17:35:59 +0200 Subject: [PATCH] Minor documentation tweaks --- README.md | 4 ---- docs/rules/no-async-describe.md | 2 +- docs/rules/prefer-arrow-callback.md | 1 - 3 files changed, 1 insertion(+), 6 deletions(-) diff --git a/README.md b/README.md index 3b7f406..bb63864 100644 --- a/README.md +++ b/README.md @@ -45,7 +45,3 @@ See [Configuring Eslint](http://eslint.org/docs/user-guide/configuring) on [esli ## Rules documentation The documentation of the rules [can be found here](docs/rules). - -## When Not To Use It - -If you are not using mocha you should not use this plugin. diff --git a/docs/rules/no-async-describe.md b/docs/rules/no-async-describe.md index 3a9994f..eb5650d 100644 --- a/docs/rules/no-async-describe.md +++ b/docs/rules/no-async-describe.md @@ -46,5 +46,5 @@ describe('my suite', mySuite); ## When Not To Use It -- If you use another library which exposes a similar API as mocha (e.g. `describe.only`), you should turn this rule off because it would raise warnings. +- If you use another library which exposes a similar API as mocha, you should turn this rule off because it would raise warnings. - In environments that have not yet adopted ES6 language features (ES3/5). diff --git a/docs/rules/prefer-arrow-callback.md b/docs/rules/prefer-arrow-callback.md index 9108ff0..02deb46 100644 --- a/docs/rules/prefer-arrow-callback.md +++ b/docs/rules/prefer-arrow-callback.md @@ -116,7 +116,6 @@ someArray.map(function(itm) { return this.doSomething(itm); }, someObject); ## When Not To Use It - In environments that have not yet adopted ES6 language features (ES3/5). - - In ES6+ environments that allow the use of function expressions when describing callbacks or function arguments. ## Further Reading