1.0.1 • Published 7 months ago

@foodybonus/eslint v1.0.1

Weekly downloads
-
License
MIT
Repository
-
Last release
7 months ago

@foody/eslint

Shared ESLint configuration for Foody projects.

Installation

npm install --save-dev @foody/eslint

Usage

ESLint Flat Config (eslint.config.js)

import foodyEslint from '@foody/eslint'

export default [
  ...foodyEslint,
  // Your custom rules here
]

TypeScript Configuration

This package expects a tsconfig.app.json file in your project root. A sample configuration is provided that you can copy:

cp node_modules/@foody/eslint/tsconfig.app.example.json ./tsconfig.app.json

Features

  • TypeScript support
  • React best practices
  • React Hooks rules
  • Import sorting and organization
  • Prettier integration
  • Consistent code style enforcement

License

MIT