Skip to content

Avicenne Studio's shareable ESLint configuration

Notifications You must be signed in to change notification settings

avicenne-studio/eslint-config

Repository files navigation

@avicenne-studio/eslint-config

This library contains the ESLint configuration used by Avicenne Studio.

Consider using the TypeScript configuration bundle instead of this library directly.

Installing the library

npm install --save-dev @avicenne-studio/eslint-config

Using the library

To use the library, you'll need to add the following to your .eslintrc.json file:

{
  "extends": "@avicenne-studio"
}

Publishing updates

For Avicenne Studio employees, in order to publish an update of the library, you'll need to:

  • Update the version field in the package.json file;
  • Stage and commit all changes;
  • Tag the new commit with the new version number; and
  • Push all changes to the GitHub repository.

This can be done using the following commands:

npm version patch
git push origin main --tags

A GitHub Actions workflow will then automatically publish the package to the NPM registry.