Socket
Book a DemoInstallSign in
Socket

@recore/config

Package Overview
Dependencies
Maintainers
10
Versions
33
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@recore/config

ESLint/TSconfig for @recore projects

latest
Source
npmnpm
Version
3.0.4
Version published
Weekly downloads
11
175%
Maintainers
10
Weekly downloads
 
Created
Source

recore-config

ESLint and TSConfig for @recore projects

npm i -D eslint prettier @recore/config

提交之前检查规范

npm i -D husky lint-staged

package.json

{
  "scripts": {
    "lint": "eslint src --fix --ext .ts --ext .tsx"
  },
  "husky": {
    "hooks": {
      "pre-commit": "lint-staged"
    }
  },
  "lint-staged": {
    "src/**/*.{ts,tsx}": [
      "npm run lint"
    ]
  }
}

FAQs

Package last updated on 22 Aug 2022

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