From 21b295533592cf6922eea80d111e61d34f03de8a Mon Sep 17 00:00:00 2001 From: Timo Tijhof Date: Thu, 20 Jun 2019 00:07:25 +0100 Subject: [PATCH] Docs: Add JSHint W047 compat to no-floating-decimal 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