Turo eslint configuration for react. The config expects that Typescript is being used as it extends
eslint-config-typescript.
Install the package and all of its peer dependencies:
npx install-peerdeps --dev @open-turo/eslint-config-reacteslint.config.js (requires eslint>=v8.23.0)
This package is ESM-only (like @open-turo/eslint-config-typescript). Use import in your flat config:
import turoConfig from "@open-turo/eslint-config-react";
export default turoConfig();Install pre-commit and the commit hooks:
pre-commit install
pre-commit install --hook-type commit-msgTransitive peerDependencies should be added, and kept up to date. A useful tool for that task is
npx check-peer-dependencies, which shows us our missing (or outdated) peerDependencies.
Please review Issues, post new Issues against this repository as needed.
Please see here for guidelines on how to contribute to this project.