New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@cyco130/eslint-config

Package Overview
Dependencies
Maintainers
0
Versions
42
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.0.1
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
574
increased by33.8%
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 30 Nov 2024

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

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc