🚨 Active Supply Chain Attack:node-ipc Package Compromised.Learn More
Socket
Book a DemoSign in
Socket

@ttoss/eslint-config

Package Overview
Dependencies
Maintainers
2
Versions
68
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@ttoss/eslint-config

ESLint config.

latest
Source
npmnpm
Version
1.27.0
Version published
Maintainers
2
Created
Source

@ttoss/eslint-config

@ttoss/eslint-config is a set of rules for ESLint to use on ttoss ecosystem. It uses the new ESLint flat configuration format.

Installation

pnpm add -D @ttoss/eslint-config

Usage

Add the following to your eslint.config.mjs file:

import ttossEslintConfig from '@ttoss/eslint-config';

export default [...ttossEslintConfig];

Next.js projects

Add the following to your eslint.config.mjs file:

import ttossEslintConfig from '@ttoss/eslint-config/next';

export default [...ttossEslintConfig];

Rules

Cyclomatic Complexity and Module Sizes

To keep code understandable and testable, this config enforces limits on complexity and size. The rationale is explained in Cognitive Complexity — because testability, understandability, and changeability matter.

For the current rule values, see config.js. These rules are disabled for test files (*.spec.ts, *.test.ts, *.spec.tsx, *.test.tsx).

Keywords

eslint

FAQs

Package last updated on 24 Apr 2026

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