Comments (6)
@juanmaguitar this should be fixed now. I am basically bypassing the linting steps on the deploy branch merge.
from block-development-examples.
@juanmaguitar can we just remove the linting step from this branch/workflow? Any code that gets to this point will already have been linted. Perhaps I can adjust the action to ignore this branch.
from block-development-examples.
from block-development-examples.
@ryanwelcher this is still not working properly
composer run lint
fails both locally and in the GitHub Action.
I have removed "*.php": [ "composer run lint"] again from lint-staged until this issue is solved.
Note: I wouldn't consider this a high priority for now, but something to try to get fixed before the end of the year.
from block-development-examples.
@juanmaguitar if there are failures locally then my guess is that it's due to actual linting issues.
I just ran composer run lint
on trunk locally and got the following error:
FILE: ...enberg-examples-2023/plugins/block-dynamic-rendering-64756b/src/render.php
--------------------------------------------------------------------------------
FOUND 1 ERROR AFFECTING 1 LINE
--------------------------------------------------------------------------------
11 | ERROR | All output should be run through an escaping function (see the
| | Security sections in the WordPress Developer Handbooks), found
| | 'get_block_wrapper_attributes'.
----------------------------------------------------------------------
This is correct and expected. My guess is that it was introduced with this commit. Specifically with the remove of the // phpcs:ignore
comment.
from block-development-examples.
Solved as per #73
from block-development-examples.
Related Issues (20)
- Simple editor button example (no build) HOT 2
- Using one instance of wp-scripts to work with all blocks HOT 3
- Interactivity API - Countdown Block - broken w/out Gutenberg plugin active HOT 1
- Create an example of using Block context
- Remove Experimental tag from examples using the Interactivity API HOT 1
- meta-block-bb1e55: Improve example
- Improve the readability of the "Conventions for examples" wiki page HOT 3
- Update conventions diagram to reflect the new name for this repository HOT 1
- format-api-f14b86: Document how and where the icon is being imported HOT 3
- Add creation-date, last-updated and author to the main table with examples
- Add examples for transforms
- Review `wp-scripts` package dependency on each example HOT 1
- [Proposal] — Include licenses in software packages HOT 5
- Create an example of an HOC enhancing a Core Component HOT 2
- Replace importFile with importWxr on blueprint steps HOT 1
- Fix issue with variable number of posts on every WP release HOT 1
- Adapt interactivity-api-quiz-1835fa to latest iAPI and add it to table HOT 1
- Add editable-block-no-build example HOT 2
- Add an example of enhancing a Core Component using a Higher Order Component HOT 2
- Improve example inner-blocks-dcd824
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 block-development-examples.