Important: This documentation covers Yarn 1 (Classic).
For Yarn 2+ docs and migration guide, see yarnpkg.com.

Package detail

@warrify/eslint-config

warrify-oss5MIT2.1.4

A shared eslint config, with configurations for typescript, jest, react

eslint, eslintconfig, typescript, react, jest

readme

eslint-config-warrify

Usage

For just a basic setup including prettier, typescript and jest use:

// .eslintrc.js
module.exports = {
  extends: [
    "@warrify"
  ]
}

For node:

// .eslintrc.js
module.exports = {
  extends: [
    "@warrify/eslint-config/react"
  ]
}

If you also want react or react-native specific configurations:

// .eslintrc.js
module.exports = {
  extends: [
    "@warrify/eslint-config/react",
    "@warrify/eslint-config/react-native",
  ]
}