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

@open-turo/eslint-config-typescript

Package Overview
Dependencies
Maintainers
1
Versions
95
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@open-turo/eslint-config-typescript

Turo eslint configuration for typescript

  • 2.5.0
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
6.1K
decreased by-47.46%
Maintainers
1
Weekly downloads
 
Created
Source

@open-turo/eslint-config-typescript

Turo eslint configuration for typescript.

Release Tests pass/fail License Contributions welcome CI semantic-release: angular Conventional commits Join us!

Usage

Install the package and all of its peer dependencies:

npx install-peerdeps --dev @open-turo/eslint-config-typescript

Then in your .eslintrc file extend from one of the two configurations included in this package:

  1. The default, recommended for new Typescript projects
  2. The "legacy", which is used by eslint-config-react, to support our existing front-end projects

Default config (for new projects)

The default config of this repo is the recommended version for new Typescript projects.

To use this config, just add to your .eslintrc the following:

"extends": "@open-turo/eslint-config-typescript"

Legacy config (for some internal front-end projects)

We also provide an alternative legacy preset, which is used by eslint-config-react, for compatibility with our existing front-end projects.

If you want to use this legacy configuration, you can import it by instead adding the following to your .eslintrc:

"extends": "@open-turo/eslint-config-typescript/legacy"

Simply notice the /legacy suffix, which points to the legacy.js file in this repository.

Development

Install pre-commit and the commit hooks:

pre-commit install
pre-commit install --hook-type commit-msg

Get Help

Please review Issues, post new Issues against this repository as needed.

Contributions

Please see here for guidelines on how to contribute to this project.

FAQs

Package last updated on 10 Jan 2023

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