Skip to content

Hansanghyeon/linter

Repository files navigation

A rule set of hyeon's ESLint configurations

Installation

npm install --save-dev @hyeon/eslint-config

Usage

  • 🟩 react + typescript
import hyeonEslintConfig from '@hyeon/eslint-config'

export default [
  ...hyeonEslintConfig.base,
  ...hyeonEslintConfig.react,
  ...hyeonEslintConfig.typescript,
  ...hyeonEslintConfig.plus, // optional
]
  • 🟩 javascript
import hyeonEslintConfig from '@hyeon/eslint-config'

export default [
  ...hyeonEslintConfig.base,
  ...hyeonEslintConfig.js,
  ...hyeonEslintConfig.plus, // optional
]
  • 🟩 typescript
  • 🟥 react
import hyeonEslintConfig from '@hyeon/eslint-config'

export default [
  ...hyeonEslintConfig.base,
  ...hyeonEslintConfig.typescript,
  ...hyeonEslintConfig.plus, // optional
]