@igniter-js/eslint-config

0.1.0 • Public • Published

@igniter/eslint-config

npm version License: MIT

A carefully crafted ESLint and Prettier configuration preset for modern JavaScript and TypeScript projects. Enforce consistent code style and catch potential errors before they make it to production.

Features

  • 🎯 Optimized for TypeScript and JavaScript
  • ⚡ Works seamlessly with Prettier
  • 🔧 Zero configuration needed
  • 📦 Easy to extend and customize

Installation

# Using npm
npm install --save-dev @igniter/eslint-config

# Using yarn
yarn add -D @igniter/eslint-config

# Using pnpm
pnpm add -D @igniter/eslint-config

Usage

Add the following to your .eslintrc.json (or .eslintrc.js):

{
  "extends": "@igniter/eslint-config"
}

With Prettier

This config includes Prettier settings. Add a prettier.config.js to your project:

module.exports = require('@igniter/eslint-config/prettier')

What's Included

This configuration includes settings for:

  • ESLint recommended rules
  • TypeScript ESLint rules
  • React and JSX/TSX support
  • Import/Export rules
  • Prettier integration

Customization

You can override any rules by adding them to your ESLint config file:

{
  "extends": "@igniter/eslint-config",
  "rules": {
    // Your custom rules here
  }
}

Contributing

  1. Fork the repository
  2. Create your feature branch (git checkout -b feature/amazing-feature)
  3. Commit your changes (git commit -m 'Add some amazing feature')
  4. Push to the branch (git push origin feature/amazing-feature)
  5. Open a Pull Request

License

MIT License - see the LICENSE file for details

Support


Made with ❤️ by Felipe Barcelos

Package Sidebar

Install

npm i @igniter-js/eslint-config

Weekly Downloads

11

Version

0.1.0

License

MIT

Unpacked Size

120 kB

Total Files

6

Last publish

Collaborators

  • felipebarcelospro