eslint-plugin-code-style
DocsRulesGitHub
v3.0.3

Getting Started

  • Introduction
  • Installation
  • Configuration

Rules

  • Overview
  • Arrays
  • Arrow Functions
  • Call Expressions
  • Classes
  • Comments
  • Components
  • Control Flow
  • Functions
  • Hooks
  • Imports & Exports
  • JSX
  • Objects
  • React
  • Spacing
  • Strings
  • TypeScript
  • Variables

Guides

  • Philosophy
  • Contributing

Documentation

Welcome to the eslint-plugin-code-style documentation. Everything you need to install, configure, and use the plugin in your React projects.

Installation

Install the plugin, add it to your ESLint flat config, and start linting in under a minute.

Configuration

Choose a preset config or manually enable individual rules. Customize options to match your team.

Rules Reference

Browse all 81 rules across 17 categories. Each rule includes examples, rationale, and options.

Philosophy

Understand the design decisions behind the plugin: auto-fix first, consistency at scale, and more.