1.0.0 • Published 1 year ago

@carry0987/eslint-config v1.0.0

Weekly downloads
-
License
MIT
Repository
github
Last release
1 year ago

ESLint-Config

NPM

Introduction

@carry0987/eslint-config is a customizable ESLint configuration package designed to streamline and standardize linting across multiple JavaScript frameworks such as Remix, NestJS and more. By centralizing common ESLint configurations and extending specific rules per framework, this package helps maintain consistent coding standards and improves developer productivity.

Features

  • Base Configuration: A shared base configuration adhering to ESLint's recommended rules.
  • Framework-Specific Configurations: Tailored configurations for Remix, NestJS and more to address framework-specific linting needs.
  • ESM Support: Utilizes modern ECMAScript Module syntax for better compatibility.
  • TypeScript Support: Seamless integration with TypeScript projects.

Installation

Install the package via pnpm:

pnpm add @carry0987/eslint-config

Usage

In your project's root, create an eslint.config.mjs file and extend the necessary configuration:

  • Remix

    import { remixConfig } from '@carry0987/eslint-config';
    export default {
      extends: remixConfig
    };
  • NestJS

    import { nestConfig } from '@carry0987/eslint-config';
    export default {
      extends: nestConfig
    };

By using @carry0987/eslint-config, you can ensure consistent and efficient linting practices across all your JavaScript projects.

1.0.0

1 year ago