Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update
gulp
, language settings, and stored files (#102)
## Describe your changes I updated the language settings in `.eslintrc` to just look for browser and node JS syntax and removed the watching of the `css` and `js` folders since those are never being modified by users. The reason the were removed other than that was because they will update since we are always taking the latest files and it is a bit confusing from a user's perspective. We need the files to be there, but we really don't care what is in them as we presume the maintainers of the libraries have checked. **Bonus:** The format function now runs when you run the `gulp` command. ## Checklist before requesting a review - [x] All features within the repository still work on my local dev environment. ```bash icj-project-rig % gulp dev `import sass from 'sass'` is deprecated. Please use `import * as sass from 'sass'` instead. [00:31:25] Using gulpfile ~/Documents/GitHub/icj-project-rig/gulpfile.js [00:31:25] Starting 'dev'... [00:31:25] Starting 'default'... [00:31:25] Starting 'clean'... [00:31:25] Finished 'clean' after 3.78 ms [00:31:25] Starting 'clean'... [00:31:25] Starting 'styles'... [00:31:25] Starting 'copy'... [00:31:25] Starting 'nunjucks'... [00:31:25] Starting 'bake'... [00:31:25] Finished 'clean' after 660 μs [00:31:25] Starting 'lint'... [00:31:25] Starting 'scripts'... [00:31:25] Starting 'images'... [00:31:25] Finished 'nunjucks' after 123 ms [00:31:25] Finished 'bake' after 125 ms [00:31:26] Finished 'lint' after 356 ms [00:31:28] gulp-imagemin: Minified 0 images [00:31:28] Finished 'styles' after 3.04 s [00:31:28] Finished 'scripts' after 2.92 s [00:31:28] Finished 'copy' after 3.04 s [00:31:28] Finished 'images' after 2.92 s [00:31:28] Starting 'format'... [00:31:28] File 'docs/books/the-clown.html' was not formatted with Prettier [00:31:28] File 'docs/books/the-hearing-trumpet.html' was not formatted with Prettier [00:31:28] File 'docs/books/the-shipping-news.html' was not formatted with Prettier [00:31:28] File 'docs/index.html' was not formatted with Prettier [00:31:28] Finished 'format' after 102 ms [00:31:28] Finished 'default' after 3.15 s [00:31:28] Starting 'serve'... [Browsersync] Access URLs: -------------------------------------- Local: http://localhost:3001 External: http://192.168.0.116:3001 -------------------------------------- UI: http://localhost:3002 UI External: http://localhost:3002 -------------------------------------- [Browsersync] Serving files from: docs ```
- Loading branch information