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

@hyeon/eslint-config

Package Overview
Dependencies
Maintainers
0
Versions
92
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@hyeon/eslint-config

Hansanghyun custom eslint settings

6.0.34
Source
npm
Version published
Weekly downloads
4
-33.33%
Maintainers
0
Weekly downloads
 
Created
Source

A rule set of hyeon's ESLint configurations

  • 참고
    • eslint:recommended List of available rules - ESLint - Pluggable JavaScript linter
    • @typescript-eslint/recommended typescript-eslint/packages/eslint-plugin at main · typescript-eslint/typescript-eslint

Installation

bun install --save-dev @hyeon/eslint-config
npm install --save-dev @hyeon/eslint-config
yarn add --save-dev @hyeon/eslint-config
pnpm add --save-dev @hyeon/eslint-config

Usage

  • 🟩 react + typescript
import hyeonEslintConfigRecommended from '@hyeon/eslint-config/recommended'
import hyeonEslintConfigReact from '@hyeon/eslint-config/react'
import hyeonEslintConfigPrettier from '@hyeon/eslint-config/prettier'

export default [
  ...hyeonEslintConfigRecommended,
  ...hyeonEslintConfigReact,
  ...hyeonEslintConfigPrettier,
]
import hyeonEslintConfig from '@hyeon/eslint-config'

export default [
  ...hyeonEslintConfig.recommended,
  ...hyeonEslintConfig.react,
  ...hyeonEslintConfig.prettier,
]
  • 🟩 typescript
  • 🟥 react
import hyeonEslintConfigRecommended from '@hyeon/eslint-config/recommended'
import hyeonEslintConfigTypescript from '@hyeon/eslint-config/typescript'
import hyeonEslintConfigPrettier from '@hyeon/eslint-config/prettier'

export default [
  ...hyeonEslintConfigRecommended,
  ...hyeonEslintConfigTypescript,
  ...hyeonEslintConfigPrettier,
]
import hyeonEslintConfig from '@hyeon/eslint-config'

export default [
  ...hyeonEslintConfig.recommended,
  ...hyeonEslintConfig.typescript,
  ...hyeonEslintConfig.prettier,
]

Keywords

eslint

FAQs

Package last updated on 23 Jun 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