@prestashopcorp/eslint-config-ts

0.3.0-beta.2 • Public • Published

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"
}

Package Sidebar

Install

npm i @prestashopcorp/eslint-config-ts

Weekly Downloads

82

Version

0.3.0-beta.2

License

MIT

Unpacked Size

2.79 kB

Total Files

4

Last publish

Collaborators

  • morraycage
  • devops-prestashop
  • claude-arnaud
  • tdaveaupresta
  • rxmat_presta
  • natsuflame