This package has been deprecated

Author message:

We migrated to eslint. Check @carforyou/eslint-config if you'd like to use our configuration

@carforyou/tslint-rules

3.0.0 • Public • Published

CAR FOR YOU tslint rules

semantic-release

Usage

npm install -D typescript prettier tslint
npm install -D @carforyou/tslint-rules

In tslint.json:

{
  "extends": [
    "@carforyou/tslint-rules"
  ]
}

You will also need a tsconfig.json. The minimal would be:

{
  "compilerOptions": {
    "allowJs": true
  }
}

In your package.json, add the following scripts:

"scripts": {
  "lint": "tslint --project tsconfig.json",
  "format": "tslint --project tsconfig.json --fix"
}

You can use a custom .prettierignore in your project

Development

npm run build && npm run lint

Development

You can link your local npm package to integrate it with any local project:

cd carforyou-tslint-rules-pkg/pkg
npm link

cd carforyou-listings-web
npm link @carforyou/tslint-rules

cd carforyou-tslint-rules-pkg
npm run build

Release a new version

New versions are released on the ci using semantic-release as soon as you merge into master. Please make sure your merge commit message adheres to the corresponding conventions.

Readme

Keywords

none

Package Sidebar

Install

npm i @carforyou/tslint-rules

Weekly Downloads

17

Version

3.0.0

License

MIT

Unpacked Size

5.85 kB

Total Files

4

Last publish

Collaborators

  • lkappeler
  • carforyou-engineering