Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

tslint-config-prettier

Package Overview
Dependencies
Maintainers
1
Versions
19
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

tslint-config-prettier

Do you wanna use tslint and prettier without conflicts? tslint-config-prettier disables all conflicting rules that may cause such problems. Prettier takes care of formatting and tslint the rest.

  • 1.18.0
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
830K
increased by10.54%
Maintainers
1
Weekly downloads
 
Created

What is tslint-config-prettier?

The `tslint-config-prettier` package is a TSLint configuration that disables all rules that are unnecessary or might conflict with Prettier. This allows you to use TSLint for code quality checks while letting Prettier handle code formatting.

What are tslint-config-prettier's main functionalities?

Disable conflicting rules

By extending `tslint-config-prettier` in your TSLint configuration, you disable all TSLint rules that might conflict with Prettier, ensuring that the two tools work together seamlessly.

{
  "extends": [
    "tslint-config-prettier"
  ]
}

Integration with existing TSLint configurations

You can integrate `tslint-config-prettier` with your existing TSLint configurations. This example shows how to extend both `tslint:recommended` and `tslint-config-prettier` to use recommended TSLint rules while avoiding conflicts with Prettier.

{
  "extends": [
    "tslint:recommended",
    "tslint-config-prettier"
  ]
}

Other packages similar to tslint-config-prettier

Keywords

FAQs

Package last updated on 04 Feb 2019

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc