@hstech/ts-lint

1.2.0 • Public • Published

Tslint + Prettier shareable config

A shareable tslint + prettier config

Prerequisites

This project requires NodeJS (version 16 or later) and Yarn and Typescript (version 4.3.5). Node and Yarn are really easy to install. To make sure you have them available on your machine, try running the following command.

$ yarn -v && node -v
1.22.5
v16.4.2

Table of contents

Installation

To install and set up the library, run:

$ npm install --save-dev @hstech/ts-lint

Or if you prefer using Yarn:

$ yarn add --dev @hstech/ts-lint

Usage

Ts-lint

Reference it in your package.json:

{
  "eslintConfig": {
    "extends": "./node_modules/@hstech/ts-lint/.eslintrc"
  }
}

Prettier

Reference it in your package.json:

{
  "prettier": "@hstech/ts-lint" // <-----
}

Contributing

Please read CONTRIBUTING.md for details on our code of conduct, and the process for submitting pull requests to us.

  1. Fork it!
  2. Create your feature branch: git checkout -b my-new-feature
  3. Add your changes: git add .
  4. Commit your changes: git commit -am 'Add some feature'
  5. Push to the branch: git push origin my-new-feature
  6. Submit a pull request 😎

Versioning

We use SemVer for versioning. For the versions available, see the tags on this repository.

Authors

License

MIT License © Andrea SonnY

Package Sidebar

Install

npm i @hstech/ts-lint

Weekly Downloads

0

Version

1.2.0

License

MIT

Unpacked Size

8.49 kB

Total Files

8

Last publish

Collaborators

  • roonie007