Socket
Book a DemoInstallSign in
Socket

orimay-config-eslint

Package Overview
Dependencies
Maintainers
1
Versions
8
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

orimay-config-eslint

1.0.8
latest
npmnpm
Version published
Weekly downloads
0
-100%
Maintainers
1
Weekly downloads
 
Created
Source

orimay-config-eslint

A solid ESLint configuration for JavaScript and TypeScript projects using the new flat config format. This package combines the best of @eslint/js, @stylistic/eslint-plugin, eslint-plugin-perfectionist, and typescript-eslint to give you a strict, type-safe, and stylistically consistent coding experience.

Features

  • JavaScript & TypeScript support: Leverages recommended settings and strict type-checking.
  • Flat config integration: Built for ESLint's modern flat config approach.
  • Import sorting: Uses eslint-plugin-perfectionist for natural, sorted imports.
  • Customizable rules: Includes stylistic and TypeScript rules you can override as needed.

Installation

Install via npm:

npm install --save-dev orimay-config-eslint eslint

Or using pnpm:

pnpm add -D orimay-config-eslint eslint

Note: Ensure you have ESLint version ^9.15.0 installed as it's listed as a peer dependency.

Usage

For projects using ESLint's flat config, create an ESLint configuration file (for example, eslint.config.mts) in your project root with the following content:

import eslintConfig from 'orimay-config-eslint';

export default eslintConfig;

Then run ESLint to lint your project files:

npx eslint . --fix

How It Works

This package merges multiple ESLint configurations:

  • @eslint/js: Provides the core JavaScript recommended rules.
  • @stylistic/eslint-plugin: Adds stylistic guidelines with the recommended flat configuration.
  • typescript-eslint: Integrates strict type-checking and stylistic rules for TypeScript.
  • eslint-plugin-perfectionist: Enforces a natural, sorted import order with customizable settings.

These rules are merged together and fine-tuned for a clean, consistent codebase. If you need to customize any settings, feel free to extend or override the rules in your project-specific ESLint configuration.

Available Scripts

In the package.json, you'll find helpful scripts:

  • lint: Runs ESLint with the --fix flag to automatically correct fixable issues.
    npm run lint
    
  • release: Uses changelogen to generate a changelog, commit changes, and publish the package.
  • prepare: Sets up Git hooks using husky.

Contributing

Contributions, issues, and suggestions are welcome. If you find a bug or have an idea for improvement, please open an issue or submit a pull request.

License

This project is licensed under the MIT License. Feel free to use and contribute!

For issues or suggestions, please open an issue.

Authors

Keywords

eslint

FAQs

Package last updated on 24 Jul 2025

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

About

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.

  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc

U.S. Patent No. 12,346,443 & 12,314,394. Other pending.