From 8094fdc20b02eba538a9522759e82e66df7d28c3 Mon Sep 17 00:00:00 2001 From: Remco Haszing Date: Mon, 10 Aug 2020 21:37:23 +0200 Subject: [PATCH] [Docs] `jsx-filename-extension`: mention this only reports JSX syntax --- docs/rules/jsx-filename-extension.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/docs/rules/jsx-filename-extension.md b/docs/rules/jsx-filename-extension.md index 4f9278ff40..272addb0a1 100644 --- a/docs/rules/jsx-filename-extension.md +++ b/docs/rules/jsx-filename-extension.md @@ -20,6 +20,8 @@ function MyComponent() { } ``` +Beware this rule **only** reports JSX syntax, **not** other non-standard syntax such as experimental features or type annotations. + ## Rule Options ### `allow` (default: `"always"`)