Skip to content

Conference plugin; custom functionality for WP Accessibility Day

License

Notifications You must be signed in to change notification settings

wpa11yday/conference

Repository files navigation

WP Accessibility Day Conference Plugin

Conference scheduler plugin for WP Accessibility Day

Code Linting Docs Built License

This plugin is used by the WP Accessibility Day conference to manage organizers, presenters, and sessions.

Precommit and Lint Staged

This project uses a precommit hook controlled with Husky to trigger lint-staged commands.

Before committing, staged files will be checked to see if any match the file types and locations in the package.json file and then the appropriate lint command is triggered for those files. Where possible code standards are automatically fixed. If there are remaining errors after attempting to fix, the commit will fail with details about what needs to be resolved.

At times it might be appropriate to ignore an error. In most cases it is best to use inline comments for the linting tool in order to ignore the error for a given line of code.

In very rare cases it may be required to commit a change without resolving the lint errors. In those instances attempt to commit again with the --no-verify flag.

Release Process

This plugin uses the WordPress automatic updater through Github releases. To release an update:

  • Update the version number in the readme.txt header.
  • Update the version number in init.php
  • Update the version numbers in src/wp-conference-schedule.php
  • Create a new release at Github > Releases > Draft a new release.

The updater will only respond to releases marked as the latest release. Pre-release versions will not trigger updating.