Turborepo

eslint-config-turbo

The eslint-config-turbo package helps you find environment variables that are used in your code that are not a part of Turborepo's hashing. Environment variables used in your source code that are not accounted for in turbo.json will be highlighted in your editor and errors will show as ESLint output.

Installation

Install eslint-config-turbo into the location where your ESLint configuration is held:

Terminal
npm i --save-dev eslint-config-turbo -w @acme/eslint-config

Usage

In your ESLint configuration file, add the package:

./packages/config-eslint/index.js
{
  "extends": ["turbo"]
}

hours

Total Compute Saved
Get started with
Remote Caching →

On this page