Skip to content

Reusable ESLint config for React & TypeScript projects by @anthony-j-castro.

License

Notifications You must be signed in to change notification settings

anthony-j-castro/eslint-config

Repository files navigation

@anthony-j-castro/eslint-config

Reusable ESLint config for React & TypeScript projects by @anthony-j-castro.

Installation

To install the latest version as a dependency of a project:

npm install --save-dev "https://github.com/anthony-j-castro/eslint-config.git#semver:2.1.1"

Then, copy and paste this starter config in a new eslint.config.js file:

import config from "@anthony-j-castro/eslint-config";

export default [...config];

Releasing a new version

This repo uses semantic-release to automatically create and tag new versions.

To release a new version:

  1. Navigate to the "Create release" workflow.
  2. Click on the "Run workflow" dropdown, ensure the "Run with dry-run flag" option is checked, and click "Run workflow".
  3. Review the proposed version number and release notes in the workflow logs.
  4. If everything is correct, repeat steps 1 and 2 but uncheck the "Run with dry-run flag" option.