@hstech/ts-lint
v1.2.0
Published
> A shareable tslint + prettier config
Downloads
5
Maintainers
Readme
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.
- Fork it!
- Create your feature branch:
git checkout -b my-new-feature
- Add your changes:
git add .
- Commit your changes:
git commit -am 'Add some feature'
- Push to the branch:
git push origin my-new-feature
- Submit a pull request :sunglasses:
Versioning
We use SemVer for versioning. For the versions available, see the tags on this repository.
Authors
- Mouadh HSOUMI - Initial work - roonie007
License
MIT License © Andrea SonnY