From 5a6465ca28e5d7c09b40b6bd988f5dbd4606cb92 Mon Sep 17 00:00:00 2001 From: Denis Pushkarev Date: Sun, 25 Sep 2022 00:31:28 +0700 Subject: [PATCH] remove `no-loss-of-precision` since it works not as expected in some cases https://github.com/eslint/eslint/issues/15767 --- eslint.config.js | 2 -- 1 file changed, 2 deletions(-) diff --git a/eslint.config.js b/eslint.config.js index 9430dae2ae50..03e4fc93d697 100644 --- a/eslint.config.js +++ b/eslint.config.js @@ -63,8 +63,6 @@ const base = { 'no-func-assign': ERROR, // disallow irregular whitespace outside of strings and comments 'no-irregular-whitespace': ERROR, - // disallow literal numbers that lose precision - // 'no-loss-of-precision': ERROR, // TODO // disallow the use of object properties of the global object (Math and JSON) as functions 'no-obj-calls': ERROR, // disallow use of Object.prototypes builtins directly