Skip to content

Commit 593054a

Browse files
committed
eslint-config-cesium: Allow ES6 global variables in Node.js code.
Also bump version for release.
1 parent 191c287 commit 593054a

File tree

3 files changed

+6
-2
lines changed

3 files changed

+6
-2
lines changed

Tools/eslint-config-cesium/CHANGES.md

+3
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,9 @@
11
Change Log
22
==========
33

4+
### 6.0.1 - 2019-01-23
5+
* Allow ES6 global variables in Node.js code.
6+
47
### 6.0.0 - 2018-05-01
58
* Upgrade to eslint 5.x and it's new default rules.
69
* Set ecmaVersion to 2017 for Node.js code.

Tools/eslint-config-cesium/node.js

+2-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,8 @@
33
module.exports = {
44
extends: './index.js',
55
env: {
6-
node: true
6+
node: true,
7+
es6: true
78
},
89
parserOptions: {
910
ecmaVersion: 2017

Tools/eslint-config-cesium/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "eslint-config-cesium",
3-
"version": "6.0.0",
3+
"version": "6.0.1",
44
"description": "ESLint shareable configs for Cesium",
55
"homepage": "http://cesiumjs.org",
66
"license": "Apache-2.0",

0 commit comments

Comments
 (0)