Skip to content
This repository has been archived by the owner on Sep 30, 2021. It is now read-only.

Latest commit

 

History

History
29 lines (21 loc) · 598 Bytes

README.md

File metadata and controls

29 lines (21 loc) · 598 Bytes

ta-lint

All-in-one linting utilities.

Installation

yarn add --dev ta-lint

Prettier

Create a prettier.config.js in the root of your project that exports our standard configuration:

// prettier.config.js
module.exports = require('ta-lint/configs/prettier')

That's all you need to run prettier in your project! If you'd like, you can setup convenient npm scripts in your package.json:

{
  "scripts": {
    "prettier": "prettier \"{src,tests}/**/*.{js,ts,tsx}\"",
    "prettier:fix": "npm run prettier -- --write"
  }
}