Skip to content

Latest commit

 

History

History
40 lines (30 loc) · 676 Bytes

File metadata and controls

40 lines (30 loc) · 676 Bytes

Base TypeScript Config

Usage

# https://docs.npmjs.com/cli/v10/configuring-npm/package-json#github-urls
bun add --dev github:LangLangBart/base-ts-config

package.json

{
  "devDependencies": {
    "base-ts-config": "github:LangLangBart/base-ts-config"
  }
}

eslint.config.ts

import config from 'base-ts-config'

export default config({
  // Optional project-specific overrides
  ignores: ['some/extra/path/']
})

tsconfig.json

{
  "extends": "base-ts-config/tsconfig.json"
}