1.0.0 • Published 8 months ago

eslint-config-modern-airbnb-ts-prettier v1.0.0

Weekly downloads
-
License
MIT
Repository
github
Last release
8 months ago

eslint-config-modern-airbnb-ts-prettier

License

A modern, updated fork of eslint-config-airbnb-typescript-prettier, combining Airbnb's ESLint rules with TypeScript and Prettier support.

This fork incorporates newer dependencies, and ensures compatibility with modern TypeScript and ESLint versions.


Why this Fork?

The original repository appears unmaintained, with outdated dependencies and compatibility issues. This fork:

  • Updates all dependencies to their latest versions.
  • Ensures compatibility with modern versions of ESLint, TypeScript, and Prettier.

How to use

Install typescript, eslint and prettier, eslint-config-modern-airbnb-ts-prettier and put it into your .eslintrc.js.

$ npm install typescript eslint prettier eslint-config-modern-airbnb-ts-prettier --save-dev

.eslintrc.js

module.exports = {
  extends: "modern-airbnb-ts-prettier"
};

Features

  • Airbnb rules: Industry-standard ESLint configuration for JavaScript, providing robust linting rules for clean and consistent code.
  • TypeScript support: Fully compatible with TypeScript projects, ensuring type-safe linting.
  • Prettier integration: Seamlessly integrates with Prettier for automated code formatting without conflicts.
  • Updated dependencies: All dependencies are kept up to date, ensuring compatibility with the latest versions of ESLint, TypeScript, and Prettier.
  • React support: Includes rules tailored for React and React Hooks.

License

Open source licensed as MIT.