From 67d34491d9ea9b6a1690a3c929dac222ca160b92 Mon Sep 17 00:00:00 2001 From: Jeroen Engels Date: Sun, 28 Aug 2016 23:56:49 +0200 Subject: [PATCH 1/2] Mention `eslint-plugin-ava` in the common pitfalls docs --- docs/common-pitfalls.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/docs/common-pitfalls.md b/docs/common-pitfalls.md index 4751ed2c2..e2b862c4a 100644 --- a/docs/common-pitfalls.md +++ b/docs/common-pitfalls.md @@ -2,6 +2,10 @@ Translations: [Français](https://github.com/avajs/ava-docs/blob/master/fr_FR/docs/common-pitfalls.md) +## ESLint plugin + +If you use [ESLint](http://eslint.org/), you can install [eslint-plugin-ava](https://github.com/avajs/eslint-plugin-ava). It will guide you into using AVA correctly and help you avoid some common pitfalls. + ## AVA in Docker If you run AVA in Docker as part of your CI, you need to fix the appropriate environment variables. Specifically, adding `-e CI=true` in the `docker exec` command. See [#751](https://github.com/avajs/ava/issues/751). From 1fde6949a5857111c5879cb9c5f72b6dec08fe46 Mon Sep 17 00:00:00 2001 From: Jeroen Engels Date: Wed, 31 Aug 2016 08:37:28 +0200 Subject: [PATCH 2/2] Review fix --- docs/common-pitfalls.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/common-pitfalls.md b/docs/common-pitfalls.md index e2b862c4a..0089fa052 100644 --- a/docs/common-pitfalls.md +++ b/docs/common-pitfalls.md @@ -4,7 +4,7 @@ Translations: [Français](https://github.com/avajs/ava-docs/blob/master/fr_FR/do ## ESLint plugin -If you use [ESLint](http://eslint.org/), you can install [eslint-plugin-ava](https://github.com/avajs/eslint-plugin-ava). It will guide you into using AVA correctly and help you avoid some common pitfalls. +If you use [ESLint](http://eslint.org/), you can install [eslint-plugin-ava](https://github.com/avajs/eslint-plugin-ava). It will help you use AVA correctly and avoid some common pitfalls. ## AVA in Docker