Skip to content

Commit

Permalink
Merge pull request #7503 from AnalyticalGraphicsInc/eslint-config
Browse files Browse the repository at this point in the history
eslint-config-cesium: Allow ES6 global variables in Node.js code.
  • Loading branch information
tfili authored Jan 23, 2019
2 parents 191c287 + 593054a commit 99717a8
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 2 deletions.
3 changes: 3 additions & 0 deletions Tools/eslint-config-cesium/CHANGES.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
Change Log
==========

### 6.0.1 - 2019-01-23
* Allow ES6 global variables in Node.js code.

### 6.0.0 - 2018-05-01
* Upgrade to eslint 5.x and it's new default rules.
* Set ecmaVersion to 2017 for Node.js code.
Expand Down
3 changes: 2 additions & 1 deletion Tools/eslint-config-cesium/node.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,8 @@
module.exports = {
extends: './index.js',
env: {
node: true
node: true,
es6: true
},
parserOptions: {
ecmaVersion: 2017
Expand Down
2 changes: 1 addition & 1 deletion Tools/eslint-config-cesium/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "eslint-config-cesium",
"version": "6.0.0",
"version": "6.0.1",
"description": "ESLint shareable configs for Cesium",
"homepage": "http://cesiumjs.org",
"license": "Apache-2.0",
Expand Down

0 comments on commit 99717a8

Please sign in to comment.