From cad074d4ddb34a59183b5965ca50170713b5a711 Mon Sep 17 00:00:00 2001 From: Timo Tijhof Date: Thu, 20 Jun 2019 02:39:18 +0100 Subject: [PATCH] Docs: Add JSHint W047 compat to no-floating-decimal (#11861) This ESLint rule handles both leading and trailing decimal points. In order to ease discovery of this ESLint rule, mention the latter warning as well, as users might only find those in their code. https://github.com/jshint/jshint/blob/7993101/src/style.js#L100-L116 --- docs/rules/no-floating-decimal.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/rules/no-floating-decimal.md b/docs/rules/no-floating-decimal.md index 30898c0bd8d..880bc0705fa 100644 --- a/docs/rules/no-floating-decimal.md +++ b/docs/rules/no-floating-decimal.md @@ -40,4 +40,4 @@ If you aren't concerned about misinterpreting floating decimal point values, the ## Compatibility -* **JSHint**: W008 +* **JSHint**: W008, W047