🚀 Big News: Socket Acquires Coana to Bring Reachability Analysis to Every Appsec Team.Learn more
Socket
DemoInstallSign in
Socket

@cyco130/eslint-config

Package Overview
Dependencies
Maintainers
0
Versions
43
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@cyco130/eslint-config

ESLint configuration for Fatih Aygün's personal projects

5.1.0
latest
Source
npm
Version published
Weekly downloads
410
11.41%
Maintainers
0
Weekly downloads
 
Created
Source

@cyco130/eslint-config

This is a set of reusable ESLint configurations for Fatih Aygün's personal projects.

Compatibility

Version 5.x.x only supports ESLint 9 and flat configs. Use version 4.x.x for ESLint 8 and legacy configs.

Usage

Install with pnpm install -D @cyco130/eslint-config and create a file named eslint.config.js (or .mjs if you don't have "type": "module" in your package.json) with the following content:

import config from "@cyco130/eslint-config/node"; // or "@cyco130/eslint-config/react"

/** @type {typeof config} */
export default [
	...config,
	{
		// Add your own ignores here
		ignores: ["dist/", "node_modules/"],
	},
	{
		languageOptions: {
			parserOptions: {
				projectService: true,
				// @ts-expect-error: remove this directive if you have Node type definitions in your project
				tsconfigRootDir: import.meta.dirname,
			},
		},
	},
];

Credits and license

  • By Fatih Aygün, MIT license

FAQs

Package last updated on 16 Mar 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