@dmail/shared-config

    7.0.0 • Public • Published

    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

    Keywords

    none

    Install

    npm i @dmail/shared-config

    DownloadsWeekly Downloads

    21

    Version

    7.0.0

    License

    MIT

    Unpacked Size

    79.8 kB

    Total Files

    30

    Last publish

    Collaborators

    • dmail