From 70c3679b7f0a426306705c4f2aefb5890ee6b69f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Frederik=20Eycheni=C3=A9?= Date: Wed, 30 May 2018 13:14:33 +0200 Subject: [PATCH] [docs] make rule names consistent Renamed the title of this page to be the full name of the rule, like on the rest of the docs. --- docs/rules/no-default-export.md | 2 +- docs/rules/no-deprecated.md | 2 +- docs/rules/no-named-export.md | 2 +- docs/rules/no-relative-parent-imports.md | 2 +- docs/rules/no-self-import.md | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) diff --git a/docs/rules/no-default-export.md b/docs/rules/no-default-export.md index dc026b00a..4f1a300a2 100644 --- a/docs/rules/no-default-export.md +++ b/docs/rules/no-default-export.md @@ -1,4 +1,4 @@ -# no-default-export +# `import/no-default-export` Prohibit default exports. Mostly an inverse of [`prefer-default-export`]. diff --git a/docs/rules/no-deprecated.md b/docs/rules/no-deprecated.md index fae7d8daf..c948b5178 100644 --- a/docs/rules/no-deprecated.md +++ b/docs/rules/no-deprecated.md @@ -1,4 +1,4 @@ -# import/no-deprecated +# `import/no-deprecated` Reports use of a deprecated name, as indicated by a JSDoc block with a `@deprecated` tag or TomDoc `Deprecated: ` comment. diff --git a/docs/rules/no-named-export.md b/docs/rules/no-named-export.md index b3a0ef8d6..0ff881e34 100644 --- a/docs/rules/no-named-export.md +++ b/docs/rules/no-named-export.md @@ -1,4 +1,4 @@ -# no-named-export +# `import/no-named-export` Prohibit named exports. Mostly an inverse of [`no-default-export`]. diff --git a/docs/rules/no-relative-parent-imports.md b/docs/rules/no-relative-parent-imports.md index 84913b540..7d6e883cf 100644 --- a/docs/rules/no-relative-parent-imports.md +++ b/docs/rules/no-relative-parent-imports.md @@ -1,4 +1,4 @@ -# no-relative-parent-imports +# import/no-relative-parent-imports Use this rule to prevent imports to folders in relative parent paths. diff --git a/docs/rules/no-self-import.md b/docs/rules/no-self-import.md index 089f5e029..bde063f5d 100644 --- a/docs/rules/no-self-import.md +++ b/docs/rules/no-self-import.md @@ -1,4 +1,4 @@ -# Forbid a module from importing itself +# Forbid a module from importing itself (`import/no-self-import`) Forbid a module from importing itself. This can sometimes happen during refactoring.