Skip to content

Commit

Permalink
Add rule to ESLint shareable config. Update CHANGES.md
Browse files Browse the repository at this point in the history
  • Loading branch information
ottaviohartman committed Jun 19, 2017
1 parent a70fba7 commit da4a277
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
4 changes: 0 additions & 4 deletions .eslintrc.json
Original file line number Diff line number Diff line change
@@ -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"}]
}
}
3 changes: 3 additions & 0 deletions Tools/eslint-config-cesium/CHANGES.md
Original file line number Diff line number Diff line change
@@ -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

Expand Down
1 change: 1 addition & 0 deletions Tools/eslint-config-cesium/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -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'],
Expand Down

0 comments on commit da4a277

Please sign in to comment.