1.0.1 • Published 2 years ago

@teqplay/prettier-config v1.0.1

Weekly downloads
-
License
MIT
Repository
github
Last release
2 years ago

Welcome!

This repository contains initial configuration file for Teqplay ES-lint rules.

The rules will be updated regarding the Teqplay developer feedbacks soon.

First Step : Install

yarn add @teqplay/prettier-config --dev

or

npm install --save-dev @prettier-config

Second Step : Extend your .prettierrc.js

module.exports = {
  ...require('@teqplay/eslint-config')
}

(Optional) Third Step: add check-lint script to your package.json

"check-lint": "prettier --check \"./src/**/*.ts\" \"./src/**/*.tsx\""

It is ready! Happy coding!