Skip to content

v1.0.0

Compare
Choose a tag to compare
@nmanu1 nmanu1 released this 30 Sep 18:30
· 15 commits to main since this release
0174471

This library provides extensible ESLint configurations with the linting rules that are used across Yext repos. There are two exported configs: the default export is a config for Typescript repos, and the “typescript-react” export is a config for repos using React with Typescript.

Install the configs with

npm install @yext/eslint-config

You can use these configs when configuring ESLint as follows. For Typescript repos,

{
  extends: [
    '@yext/eslint-config'
  ]
}

For repos using React with Typescript,

{
  extends: [
    '@yext/eslint-config/typescript-react'
  ]
}