Comments (3)
Less noise is better sounding to my
from theme-scaffold.
Hmm, any ideas on suppressing these errors @JodiWarren ? We could probably update the debug: true
setting as the error output looks like its coming from gulp
?
from theme-scaffold.
@dainemawer In my experience, running gulp watch --silent
is good enough to hide most of this stuff.
That returns just the following:
[17:21:34]
assets/css/frontend/style.css
29:2 ✖ Expected variable for "color". sh-waqar/declaration-use-variable
29:9 ✖ Unexpected named color "red" color-named
Webpack gives us a bit more:
[17:21:56] Version: webpack 4.27.0
Built at: 12/04/2018 5:21:56 PM
6 assets
Entrypoint admin = admin.min.js admin.min.js.map
Entrypoint frontend = frontend.min.js frontend.min.js.map
Entrypoint shared = shared.min.js shared.min.js.map
ERROR in ./assets/js/admin/admin.js
Module Error (from ./node_modules/eslint-loader/index.js):
/Users/jodi/Projects/10up/wp-local-docker/theme-scaffold-gutenberg-test/wordpress/wp-content/themes/theme-scaffold/assets/js/admin/admin.js
3:7 error 'a' is assigned a value but never used no-unused-vars
✖ 1 problem (1 error, 0 warnings)
The main thing is that it hides the gulp error noise.
Alternatively, we could set a silent flag in a gulp.json
settings file in the root, but I don't think we'd want to suppress errors for all gulp processes.
from theme-scaffold.
Related Issues (20)
- Consider Adopting Parcel HOT 5
- Inline global declarations in the config files generate eslint errors. HOT 3
- Avoid transpiling upstream dependencies HOT 1
- Add `@wordpress/scripts` like auto generation of wp script dependencies HOT 3
- Add styling for wide and full alignment
- Change default alignment of the `core/media-text` block to `none`
- Add .env to support things like overriding the proxied url HOT 1
- Remove eslint from webpack. HOT 2
- Update loading for the block CSS file
- Is `TenUpScaffold\ Overrides\setup();` missing on purpose HOT 2
- Update stylelint HOT 2
- Add ARIA Landmarks to Skeleton HTML
- Add Gutenberg Specific CSS Partial
- Implement Asynchronous CSS HOT 8
- editor-style.css path
- node_modules added to eslintignore HOT 3
- Gutenberg block set up structure.
- SVGs are cropped upon deployment HOT 1
- Add Dynamic Import and Code Splitting Support to Webpack
- PHP warning: function 'FbSustainability\Core\js_disabled_stylesheets' not found
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from theme-scaffold.