Socket
Book a DemoInstallSign in
Socket

@prestashopcorp/eslint-config-ts

Package Overview
Dependencies
Maintainers
6
Versions
12
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@prestashopcorp/eslint-config-ts

Typescript Eslint rules for PrestaShop projects

latest
Source
npmnpm
Version
0.3.0-beta.2
Version published
Weekly downloads
279
15.77%
Maintainers
6
Weekly downloads
 
Created
Source

Prestashop eslint-config-ts

An eslint sharable config for typescript project. This config include @prestashopcorp/eslint-config, @typescript-eslint/recommended-type-checked and @typescript-eslint/stylistic-type-checked rules.

Npm config

This package is published in an Npm private registry.

if it is not done, you have to set the authentication config by running this commands:

npm set "//npm.pkg.github.com/:_authToken=$GITHUB_TOKEN"
npm set "@prestashopcorp:registry=https://npm.pkg.github.com"

Install

yarn install -D @prestashopcorp/eslint-config-ts

Usage

Shareable configs are designed to work with the extends feature of .eslintrc files. You can learn more about Shareable Configs on the official ESLint website.

Add this to your .eslintrc file:

{
  "extends": "@prestashopcorp/eslint-config-ts"
}

Keywords

eslint

FAQs

Package last updated on 07 Oct 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