chaos-design / hammer

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

@chaos-design/hammer

eslint-config

Usage

Install

pnpm add -D eslint @chaos-design/eslint-config-chaos

Config .eslintrc

{
  "extends": "@chaos-design/eslint-config-chaos"
}

You don't need .eslintignore normally as it has been provided by the preset.

Add script for package.json

For example:

{
  "scripts": {
    "lint": "eslint .",
    "lint:fix": "eslint . --fix"
  }
}

tsconfig

Usage

Install

pnpm add -D typescript @chaos-design/chaos-tsconfig

Config .tsconfig

{
  "extends": "@chaos-design/chaos-tsconfig"
}

License

MIT License © 2023-PRESENT chaos-design

About

License:MIT License


Languages

Language:JavaScript 80.8%Language:TypeScript 19.0%Language:Shell 0.2%