@dmail/shared-config

Share configuration of eslint, babel, prettier and vscode config amongst projects

Stats

StarsIssuesVersionUpdatedCreatedSize
@dmail/shared-config
007.0.03 years ago4 years agoMinified + gzip package size for @dmail/shared-config in KB

Readme

shared-config

Share configuration of eslint, babel, prettier and vscode config amongst projects

Usage

Add this in your package.json

{
  "devDependencies": {
    "@dmail/shared-config": "6.0.0"
  }
}

Eslint config sharing

Create eslintrc.js at the root of your project

module.exports = require("@dmail/shared-config/dist/eslint.js").config

Prettier config sharing

Create prettier.config.js at the root of your project

module.exports = require("@dmail/shared-config/dist/prettier.js").config

Babel config sharing

Create .babelrc at the root of your project

{
    "presets": ["@dmail/shared-config/dist/babel-preset.js"]
}

Note: I plan to use babel.config.js, this is tracked in https://github.com/dmail/shared-config/issues/10

If you find any bugs or have a feature request, please open an issue on github!

The npm package download data comes from npm's download counts api and package details come from npms.io.