eslint-config-react-app-essentials

18.0.0 • Public • Published

eslint-config-react-app-essentials

Description

This configuration enforces consistency in the codebase, ensuring uniformity regardless of the developer writing the code. It includes the following rules:

  • Integration with Prettier
  • Sorting of ESModule imports
  • Sorting of JSX props

Installation

npm install -D eslint eslint-config-react-app-essentials

Usage

Add the following configuration to your ESLint configuration file:

// eslint.config.mjs
import { createConfig } from "eslint-config-react-app-essentials";

export default createConfig({
    scope: ["src/**/*.ts","src/**/*.tsx"],
    tsConfigPath: "tsconfig.app.json",
})

Now, your code will adhere to consistent formatting and structure, promoting readability and maintainability across your project.

Readme

Keywords

none

Package Sidebar

Install

npm i eslint-config-react-app-essentials

Weekly Downloads

64

Version

18.0.0

License

ISC

Unpacked Size

3.82 kB

Total Files

3

Last publish

Collaborators

  • lee-donghyun