Skip to content
This repository was archived by the owner on Jul 19, 2021. It is now read-only.

Latest commit

 

History

History

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 

README.md

@rescripts/rescript-env

About

Use your own Babel, ESLint and TSLint configurations. This rescript is a zero-config combination of three other rescripts:

Installation

npm i -D @rescripts/rescript-env

Usage

["env"]

Babel

Searches for a Babel config from your package.json's babel field, or from files named .babelrc, .babelrc.js, .babelrc.json or babel.config.js in your root directory.

ESLint

Searches for an ESLint config from your package.json's eslintConfig field, or from files named .eslintrc, .eslintrc.js, .eslintrc.json or eslint.config.js in your root directory.

TSLint

Searches for a TSLint config from files named either tslint.js or tslint.json in your root directory.