Detalhes do pacote

@tunnckocore/config

tunnckocorehq50MPL-2.05.0.8

All the configs for all the things, in one place - Prettier, Babel, ESLint, NYC, TypeScript

tunnckocorehq, config, babel, eslint

readme (leia-me)

@tunnckocore/config

All the configs for all the things, in one place - Prettier, Babel, ESLint, NYC, TypeScript

npm version Mozilla Public License 2.0 Keybase Twitter Become a Patron

Install

yarn add --dev @tunnckocore/config

Usage

Your .eslintrc.js in your project

module.exports = require('@tunnckocore/config/eslint')(process.cwd());

Your babel.config.js or .babelrc.js (it depends, but they behave a bit differently) in your project

module.exports = require('@tunnckocore/config/babel')(process.cwd());

Your .prettierrc.js in your project

module.exports = require('@tunnckocore/config/prettier');