Install
yarn add @chocolab/configs
Usage
// babel.config.js
const configs = require('@chocolab/configs')
module.exports = configs.babel()
// .eslintrc.js
const configs = require('@chocolab/configs')
module.exports = configs.eslint()
// next.config.js
const configs = require('@chocolab/configs')
module.exports = configs.next()
// rollup.config.js
const configs = require('@chocolab/configs')
module.exports = configs.rollup('module')
// .storybook/main.js
const configs = require('@chocolab/configs')
module.exports = configs.storybook()
// .stylelintrc.js
const configs = require('@chocolab/configs')
module.exports = configs.stylelint()
// webpack.config.js
const configs = require('@chocolab/configs')
module.exports = configs.webpack('./dir')
Maintainers
jefer94 |