Comments (4)
Since the project already has a package.json, we could incorporate yarn to the toolbelt and workflow without a lot of effort, but may be easier to introduce a PHP-based tool.
@acelaya don't feel that we have to use Yarn in every project. For small or less-critical packages, npm may be just fine and can keep the toolchain a little simpler. npm's main downside is that it's lockfile format is less diff-friendly and its terminal output is less well presented.
from wp-hypothesis.
@acelaya don't feel that we have to use Yarn in every project. For small or less-critical packages, npm may be just fine and can keep the toolchain a little simpler. npm's main downside is that it's lockfile format is less diff-friendly and its terminal output is less well presented.
True! But I with "yarn" I actually meant anything "non-composer" 😅
I'll rewrite it for clarity.
from wp-hypothesis.
A lot of folks in the WP environment use (PHP CodeSniffer)[https://github.com/squizlabs/PHP_CodeSniffer] with the WordPress coding standards: https://github.com/WordPress/WordPress-Coding-Standards. Here's the documentation on official WP coding standards, which are encouraged for plugins/themes as well: https://developer.wordpress.org/coding-standards/wordpress-coding-standards/php/
from wp-hypothesis.
A lot of folks in the WP environment use (PHP CodeSniffer)[https://github.com/squizlabs/PHP_CodeSniffer] with the WordPress coding standards: https://github.com/WordPress/WordPress-Coding-Standards. Here's the documentation on official WP coding standards, which are encouraged for plugins/themes as well: https://developer.wordpress.org/coding-standards/wordpress-coding-standards/php/
That's what the project is currently using, but we need to make sure it fits nicely with the other hypothesis projects, where Python and JS/TS is primarily used.
It's important that anyone on the team can jump-in to work on this and the tooling and workflow feels familiar.
That's preferable even if it deviates from standard WordPress community "ways".
from wp-hypothesis.
Related Issues (20)
- Activity notifications HOT 1
- Moderation queue or restricted access to annotate HOT 3
- UI Shouldn't Render on OEmbed Posts HOT 2
- PHP <5.4 compatibility problems HOT 2
- Translation HOT 2
- Support custom post types in settings page HOT 1
- the path to the upload folder needs to be a setting HOT 4
- handle PDFs hosted via WordPress on other file storage systems HOT 1
- Updating knowledge base documentation - quick start guide and PDFs HOT 2
- Add additional options for resizing and CSS changes HOT 3
- lack of updates making people hesitate to install plugin HOT 6
- Automate publishing via GitHub actions
- Bring plugin back online HOT 8
- Add some tests
- Add a static analysis tool like PHPStan HOT 1
- Publish package in packagist.org HOT 1
- Update logos in hypothesis plugin page HOT 1
- Ship scoped production dependencies installed with composer
- Consider setting-up class autoloading via composer
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 wp-hypothesis.