@renovation-man/typescript-config
this version has been deprecated
Last updated 7 months ago by alefoll .
MIT · Original npm · Tarball · package.json
$ cnpm install @renovation-man/typescript-config 
SYNC missed versions from official npm registry.

Renovation Man Typescript Config

Migration plan

  • run
yarn add @renovation-man/typescript-config
yarn remove codelyzer
npx ng config -g cli.packageManager yarn
  • remplace everything in tsconfig.json to :
{
  "extends": "./node_modules/@renovation-man/typescript-config/tsconfig"
}
  • remplace everything in tslint.json to :
{
  "extends": [
    "@renovation-man/typescript-config"
  ]
}
  • in .editorconfig, change
indent_size = 2

to

indent_size = 4
  • add in .gitignore :
package-lock.json
  • add in package.json :
{
  "name": "renovationman-...",
  ...
  "husky": {
    "hooks": {
      "pre-commit": "lint-staged"
    }
  },
  "lint-staged": {
    "src/**/*.{ts,tsx}": [
      "clang-format -i",
      "tslint --fix --project src/tsconfig.app.json",
      "import-sort --write",
      "git add"
    ]
  }
  ...
}
  • run
npx tslint --fix --project src/tsconfig.app.json
  • fix and commit

Current Tags

  • 0.1.7                                ...           latest (7 months ago)

6 Versions

  • 0.1.7 [deprecated]           ...           7 months ago
  • 0.1.6 [deprecated]           ...           7 months ago
  • 0.1.5 [deprecated]           ...           7 months ago
  • 0.1.4 [deprecated]           ...           7 months ago
  • 0.1.3 [deprecated]           ...           7 months ago
  • 0.1.2 [deprecated]           ...           7 months ago
Maintainers (2)
Downloads
Today 0
This Week 0
This Month 2
Last Day 0
Last Week 0
Last Month 6
Dependencies (5)
Dev Dependencies (0)
None
Dependents (0)
None

Copyright 2014 - 2016 © taobao.org |