---
title: "PleaseAI Code Style"
description: "Shared ESLint, Prettier, and EditorConfig configurations for consistent code style across PleaseAI projects."
---

> Documentation Index
> Fetch the complete documentation index at: https://code-style.pages.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# PleaseAI Code Style

Shared ESLint, Prettier, and EditorConfig configurations for consistent code style across PleaseAI projects — plus a CLI that wires them up in one command.

- [Get started](/en/cli)

- [Star on GitHub](https://github.com/pleaseai/code-style)

## Packages

Everything you need for consistent code style, shipped as focused packages.

- **[ESLint Config](/en/eslint-config)** — Opinionated ESLint flat config built on top of `@antfu/eslint-config`.

- **[Prettier Config](/en/prettier-config)** — Shared Prettier configuration for consistent formatting.

- **[EditorConfig](/en/editorconfig)** — Shared `.editorconfig` for consistent editor settings.

- **[CLI](/en/cli)** — One-command setup for eslint, prettier, editorconfig, and the `AGENTS.md` rules block.

## Quick Start

The fastest path is the CLI — it installs the packages and writes the config files for you.

```bash
bunx @pleaseai/code-style
```

```bash
pnpm dlx @pleaseai/code-style
```

```bash
npx @pleaseai/code-style
```

Prefer to wire things up by hand? Install the ESLint config directly:

```bash
bun add -D @pleaseai/eslint-config eslint
```

```bash
pnpm add -D @pleaseai/eslint-config eslint
```

```bash
npm install -D @pleaseai/eslint-config eslint
```

```ts title="eslint.config.ts"
import pleaseai from '@pleaseai/eslint-config'

export default pleaseai()
```

Source: https://code-style.pages.dev/en/index.mdx
