diff --git a/.eslintrc.json b/.eslintrc.json index 1857b9939180..5559ce5b6e87 100644 --- a/.eslintrc.json +++ b/.eslintrc.json @@ -1,10 +1,6 @@ { "extends": "./Tools/eslint-config-cesium/browser.js", "rules": { - "guard-for-in": ["error"], - "no-caller": ["error"], - "no-floating-decimal": ["error"], - "no-new": ["error"], "no-unused-vars": ["error", {"vars": "all", "args": "none"}] } } diff --git a/Tools/eslint-config-cesium/CHANGES.md b/Tools/eslint-config-cesium/CHANGES.md index e4de4fad8708..48231db74701 100644 --- a/Tools/eslint-config-cesium/CHANGES.md +++ b/Tools/eslint-config-cesium/CHANGES.md @@ -1,5 +1,8 @@ Change Log ========== +### 2.0.0 + +* Enable [`no-floating-decimal`](http://eslint.org/docs/rules/no-floating-decimal) ### 1.0.0 - 2017-06-12 diff --git a/Tools/eslint-config-cesium/index.js b/Tools/eslint-config-cesium/index.js index b3a82e9a3763..9383db082ef4 100644 --- a/Tools/eslint-config-cesium/index.js +++ b/Tools/eslint-config-cesium/index.js @@ -25,6 +25,7 @@ module.exports = { 'no-empty': ['error'], 'no-extend-native': ['error'], 'no-extra-boolean-cast': 'off', + 'no-floating-decimal': ['error'], 'no-irregular-whitespace': ['error'], 'no-new': ['error'], 'no-undef': ['error'],