Permalink
Please sign in to comment.
Browse files
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
with
14 additions
and 35 deletions.
- +9 −0 .eslintignore
- +1 −0 .gitignore
- +1 −1 .travis.yml
- +0 −30 gulpfile.js
- +1 −1 index.release.html
- +2 −3 package.json
| @@ -0,0 +1,9 @@ | ||
| +Apps/HelloWorld.html | ||
| +Apps/Sandcastle/ThirdParty/** | ||
| +Build/** | ||
| +Documentation/** | ||
| +Source/Shaders/** | ||
| +Source/ThirdParty/** | ||
| +Source/Workers/cesiumWorkerBootstrapper.js | ||
| +ThirdParty/** | ||
| +Tools/** |
30
gulpfile.js
0 comments on commit
be22533