Socket
Book a DemoInstallSign in
Socket

@tailor-platform/dev-config

Package Overview
Dependencies
Maintainers
8
Versions
16
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@tailor-platform/dev-config

Common package that hosts the rules for ESLint, Prettier and TypeScript.

1.0.0-alpha.2
latest
Source
npmnpm
Version published
Weekly downloads
997
-11.77%
Maintainers
8
Weekly downloads
 
Created
Source

Tailor's base configurations for ESLint, Prettier and Typescript.

Installation

npm install -D @tailor-platform/dev-config

If you are using pnpm:

pnpm install -D @tailor-platform/dev-config@latest

Usage

Prettier

Add the following in your package.json:

{
  // ...
  "prettier": "@tailor-platform/dev-config/prettier",
}

See sharing configuration for more details.

ESLint

Add the following line in your .eslintrc.js file to extend the rules from @tailor-platform/dev-config/eslint:

module.exports = {
  ...require("@tailor-platform/dev-config/eslint"),
};

Typescript

Add the following in your tsconfig.json:

{
  "extends": "@tailor-platform/dev-config/typescript/nextjs",
}

Overriding configuration

module.exports = {
  ...require("@tailor-platform/dev-config/prettier"),
  // your overrides here
};

FAQs

Package last updated on 17 Jun 2024

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

About

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.

  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc

U.S. Patent No. 12,346,443 & 12,314,394. Other pending.