Skip to content

Commit

Permalink
run eslint on cjs files
Browse files Browse the repository at this point in the history
  • Loading branch information
hpinkos committed Dec 18, 2020
1 parent 621420e commit a2a0d73
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion .eslintrc.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
"files": [
"index.cjs",
"server.cjs",
"gulpfile.js",
"gulpfile.cjs",
"Source/Workers/transferTypedArrayTest.js"
],
"parserOptions": {
Expand Down
2 changes: 1 addition & 1 deletion .npmignore
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
/Cesium-*.zip
/Documentation
/favicon.ico
/gulpfile.js
/gulpfile.cjs
/index.html
/index.release.html
/launches
Expand Down
4 changes: 2 additions & 2 deletions Documentation/Contributors/BuildGuide/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,7 @@ Additional set up is required for deployment if you do not have commit access to

### Configure a Different S3 Bucket

It is possible to configure your `travis.yml` and `gulpfile.js` to deploy to a different S3 Bucket ([an Amazon Webservices storage unit](http://docs.aws.amazon.com/AmazonS3/latest/dev/UsingBucket.html)). If you are using the cesium-dev bucket and have valid credentials, skip to [Configure S3 Credentials](#configure-s3-credentials)
It is possible to configure your `travis.yml` and `gulpfile.cjs` to deploy to a different S3 Bucket ([an Amazon Webservices storage unit](http://docs.aws.amazon.com/AmazonS3/latest/dev/UsingBucket.html)). If you are using the cesium-dev bucket and have valid credentials, skip to [Configure S3 Credentials](#configure-s3-credentials)

- In `travis.yml`, edit the following line:

Expand All @@ -147,7 +147,7 @@ It is possible to configure your `travis.yml` and `gulpfile.js` to deploy to a d
```

- Edit `cesium-dev` to be the name of the S3 bucket you would like to deploy to
- In `gulpfile.js`, edit the following line:
- In `gulpfile.cjs`, edit the following line:

```
var travisDeployUrl = "http://cesium-dev.s3-website-us-east-1.amazonaws.com/cesium/";
Expand Down
2 changes: 1 addition & 1 deletion gulpfile.cjs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/*eslint-env node*/
/*eslint-env node, es6*/
"use strict";

var fs = require("fs");
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@
"coverage": "gulp coverage",
"generateDocumentation": "gulp generateDocumentation",
"generateDocumentation-watch": "gulp generateDocumentation-watch",
"eslint": "eslint \"./**/*.js\" \"./**/*.html\" --cache --quiet",
"eslint": "eslint \"./**/*.js\" \"./**/*.cjs\" \"./**/*.html\" --cache --quiet",
"makeZipFile": "gulp makeZipFile",
"minify": "gulp minify",
"minifyRelease": "gulp minifyRelease",
Expand Down

0 comments on commit a2a0d73

Please sign in to comment.