Skip to content

Linting

Install the ESLint plugin eslint-plugin-warp-drive

sh
pnpm add -E eslint-plugin-warp-drive@latest
sh
npm add -E eslint-plugin-warp-drive@latest
sh
yarn add -E eslint-plugin-warp-drive@latest
sh
bun add --exact eslint-plugin-warp-drive@latest

Rules

See the API docs for eslint-plugin-warp-drive

Usage

Recommended Rules are available as a flat config for easy consumption:

ts
// eslint.config.js (flat config)
const WarpDriveRecommended = require('eslint-plugin-warp-drive/recommended');

module.exports = [
  ...WarpDriveRecommended,
];

Released under the MIT License.