Skip to content

wmde/eslint-config-wikimedia-typescript

Repository files navigation

eslint-config-wikimedia-typescript

ESLint config for TypeScript following Wikimedia code conventions - the idea is to make this repository here obsolete in the medium term and upstream these rules.

Release instructions

To make a new release:

  1. Bump the version number in a pull request. (Edit package.json manually, then run npm install to update the version number in package-lock.json.) The usual commit message is “Bump version to 1.2.3”. Example pull request.

  2. Get that pull request reviewed and merged.

  3. Tag the merge commit locally. A “lightweight” tag is usually enough: git pull, then git tag v1.2.3.

  4. Push the tag. git push origin v1.2.3

  5. Turn it into a proper release on GitHub: draft a new release. Example release.

  6. Once the GitHub release is published, it should be automatically published to NPM via GitHub Actions.

  7. Submit a Gitlab change to ci-tools/libup-config to update the version of the package in releases.json (example).