>eslint-plugin-code-style
DocsRulesGitHub

Getting Started

  • [Introduction]
  • ·Installation
  • ·Configuration

Rules

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

Guides

  • ·Philosophy
  • ·Contributing
  • ·Changelog

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.