Skip to content

Commit 7e20c64

Browse files
forresstsindresorhus
authored andcommitted
Add three new links translated in french (#267)
1 parent ff4f760 commit 7e20c64

File tree

3 files changed

+6
-0
lines changed

3 files changed

+6
-0
lines changed

docs/rules/hooks-order.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
# Enforce test hook ordering
22

3+
Translations: [Français](https://github.com/avajs/ava-docs/blob/master/fr_FR/related/eslint-plugin-ava/docs/rules/hooks-order.md)
4+
35
Hooks should be placed before any tests and in the proper semantic order:
46

57
- `test.before(…);`

docs/rules/no-incorrect-deep-equal.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
# Avoid using `deepEqual` with primitives
22

3+
Translations: [Français](https://github.com/avajs/ava-docs/blob/master/fr_FR/related/eslint-plugin-ava/docs/rules/no-incorrect-deep-equal.md)
4+
35
The `deepEqual` and `notDeepEqual` assertions are unnecessary when comparing primitives. Use `is` or `not` instead.
46

57
This rule is fixable.

docs/rules/no-inline-assertions.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
# Ensure assertions are not called from inline arrow functions
22

3+
Translations: [Français](https://github.com/avajs/ava-docs/blob/master/fr_FR/related/eslint-plugin-ava/docs/rules/no-inline-assertions.md)
4+
35
The test implementation should not purely consist of an inline assertion as assertions do not return a value and having them inline also makes the tests less readable.
46

57
This rule is fixable. It will wrap the assertion in braces `{}`. It will not do any whitespace or style changes.

0 commit comments

Comments
 (0)