@recore/config

3.0.4 • Public • Published

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"
    ]
  }
}

Readme

Keywords

none

Package Sidebar

Install

npm i @recore/config

Weekly Downloads

31

Version

3.0.4

License

none

Unpacked Size

6.51 kB

Total Files

5

Last publish

Collaborators

  • ex90rts
  • onbing
  • tommytroylin
  • micate
  • creamidea
  • eternalsky
  • leoyuan88
  • albertxiao
  • surgit