@rescripts/rescript-env
v0.0.14
Published
## About
Downloads
6,036
Readme
@rescripts/rescript-env
About
Use your own Babel, ESLint and TSLint configurations. This rescript is a zero-config combination of three other rescripts:
- @rescripts/rescript-use-babel-config
- @rescripts/rescript-use-eslint-config
- @rescripts/rescript-use-tslint-config
Installation
npm i -D @rescripts/rescript-env
Usage
["env"]
Babel
Searches for a Babel config from your
package.json
'sbabel
field, or from files named.babelrc
,.babelrc.js
,.babelrc.json
orbabel.config.js
in your root directory.
ESLint
Searches for an ESLint config from your
package.json
'seslintConfig
field, or from files named.eslintrc
,.eslintrc.js
,.eslintrc.json
oreslint.config.js
in your root directory.
TSLint
Searches for a TSLint config from files named either
tslint.js
ortslint.json
in your root directory.