Please refer to the .eslintrc.json.
You can also use npm run lint
or yarn lint
to fix code style issues.
We use SemVer for versioning. Any changes to the code base should not be released using an existing version.
The commit message should follow the Bluejava commit message format. The supported scopes are:
- core for changes related to Hexo extensions and theme-specific functions
- comment for comment plugin layout, schema, style, or script changes
- share for share plugin layout, schema, style, or script changes
- donate for donation plugin layout, schema, style, or script changes
- search for search plugin layout, schema, style, or script changes
- widget for widget layout, schema, style, or script changes
- plugin for other plugin layout, schema, style, or script changes
- i18n for adding or updating translations
- test for testing or linting-related commits
- build for build scripts, CI, other development or deployment related commits
- use * or leave empty to refer to commits that do not have a clear scope
- Fork this repository, make changes to it, and run it against some actual Hexo sites to see if
anything is broken.
You should also run
npm run lint
oryarn lint
to find and fix any code formatting issue. - Submit a pull request to our repository. Please make sure you followed the instructions above.
- We will review the pull request regularly and inform you of our questions and any changes that need to be made before we can merge your pull request.
- We expect your response within two weeks, after which your pull request may be closed if no activity is shown.