forked from CesiumGS/cesium
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Use cmd version of eslint and enable caching
1. Caching makes eslint only take ~3 seconds plus any files that have changed since the last time you ran it. Since it's unlikely devs are touching every tile between runs, this makes eslint much incredibly faster in the average case. Also added the genereated `.eslintcache` to git ignore. 2. Switched to the pure cli version of eslint and remove `eslint-watch`, which I'm pretty sure no one uses anyway. This simplified our usage and means we lint all js and html files by default except for the globs specifically listed in `.eslintignore` This also shaves 2-4 seconds off startup time because we're not loading gulpfile.js anymore. 3. Fixed an issue in `index.release.html`, which was previously not linted.
- Loading branch information
Showing
6 changed files
with
14 additions
and
35 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
Apps/HelloWorld.html | ||
Apps/Sandcastle/ThirdParty/** | ||
Build/** | ||
Documentation/** | ||
Source/Shaders/** | ||
Source/ThirdParty/** | ||
Source/Workers/cesiumWorkerBootstrapper.js | ||
ThirdParty/** | ||
Tools/** |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -5,6 +5,7 @@ | |
/cesium-*.tgz | ||
.DS_Store | ||
Thumbs.db | ||
.eslintcache | ||
|
||
/Apps/CesiumViewer/Gallery/gallery-index.js | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters