Install with a package manager such as pnpm, yarn or npm.
pnpm add --save-dev eslint @davidwarrington/eslint-config
# or with yarn
yarn add --dev eslint @davidwarrington/eslint-config
# or with npm
npm install --save-dev eslint @davidwarrington/eslint-config
Create an ESLint config
// eslint.config.js
import configs from '@davidwarrington/eslint-config';
export default [
...configs.typescript,
// or if using JS only
...configs.base,
];