Socket
Book a DemoInstallSign in
Socket

@cloud-ru/eslint-config

Package Overview
Dependencies
Maintainers
1
Versions
13
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@cloud-ru/eslint-config

Config and dependencies for eslint.config.js

latest
Source
npmnpm
Version
2.1.2
Version published
Weekly downloads
359
23.37%
Maintainers
1
Weekly downloads
 
Created
Source

@cloud-ru/eslint-config

Установка: npm i @cloud-ru/eslint-config

Вместе с пакетом приезжают все необходимые зависимости для работы eslint в вашем приложении.

Usage

For monorepositories:

// projectRoot/eslint.config.mjs
import monorepoEslintConfig from '@cloud-ru/eslint-config/monorepo';

// simple usage
export default monorepoEslintConfig;

// extended usage with rules
export default [
  ...monorepoEslintConfig,
  {
    files: ['packages/config-playwright/src/**/*.ts'],
    rules: {
      'react-hooks/rules-of-hooks': 'off',
    },
  },
];

For other projects:

// projectRoot/eslint.config.mjs
import baseConfig from '@cloud-ru/eslint-config';

export default baseConfig;

Tips

Usage deprecation annotation

  /**
  * @deprecated Any message
  * */
  const deprecatedConstant = 'deprecatedConstant';

  // Eslint: 'deprecatedConstant' is deprecated. Any message ('deprecation/deprecation')
  deprecatedConstant

FAQs

Package last updated on 19 Sep 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