Socket
Socket
Sign inDemoInstall

@amille/eslint-ts-config

Package Overview
Dependencies
3
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    @amille/eslint-ts-config

![npm](https://img.shields.io/npm/v/@amille/eslint-ts-config) ![CircleCI](https://img.shields.io/circleci/build/github/amille44420/eslint-ts-config) [![Commitizen friendly](https://img.shields.io/badge/commitizen-friendly-brightgreen.svg)](http://commitiz


Version published
Maintainers
1
Created

Readme

Source

@amille/eslint-ts-config

npm CircleCI Commitizen friendly

Eslint and prettier configuration with TypeScript support based on @amille/eslint-config

Installation

First you need to install eslint and prettier.

Then install @amille/eslint-ts-config.

# using npm
npm install --save-dev @amille/eslint-ts-config

# or using yarn
yarn add -D @amille/eslint-ts-config

Then create a file named .eslintrc.json with following contents in the root folder of your project:

{
    "root": true,
    "extends": ["@amille/eslint-ts-config"]
}

Then creat a file named .prettierrc.json along side the previous file, with the following contents.

"@amille/eslint-ts-config"

Variants

This package comes with two configurations

Default

The default configuration is based on airbnb-base and prettier.

{
    "extends": ["@amille/eslint-ts-config"]
}
React

The react configuration is based on airbnb, prettier and prettier/react.

{
    "extends": ["@amille/eslint-ts-config/react"]
}

Keywords

FAQs

Last updated on 14 Nov 2020

Did you know?

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc