Wondering what’s next for npm?Check out our public roadmap! »

    eslint-config-base-diametra-ts

    1.0.0 • Public • Published

    eslint-config-base-diametra-ts

    The Diametra-Labs ESLint configuration preset is intended for react projects that are written only with typescript. It offers a very flexible configuration. This preset is not meant to kill your productivity, just worry about coding : )

    Features

    Installation

    including ECMAScript 6+

    Install the package with

    npm install eslint-config-base-diametra-ts --save-dev
     
    # or 
     
    yarn add eslint-config-base-diametra-ts -D

    Usage

    Now add the config to either your package.json:

    {
      "eslintConfig": {
        "extends": "eslint-config-base-diametra-ts"
      }
    }

    to your .eslintrc:

    {
      "extends": "eslint-config-base-diametra-ts"
    }

    or .eslintrc.js:

    module.exports = {
      extends: 'eslint-config-base-diametra-ts',
    }

    Assumptions

    This ESLint configuration comes with some fundamental assumptions:

    • react and/or node environment
    • browser and/or node environment
    • parser: typescript (used @typescript-eslint/parser)

    Maintainers


    Markoz Peña

    Install

    npm i eslint-config-base-diametra-ts

    DownloadsWeekly Downloads

    1

    Version

    1.0.0

    License

    MIT

    Unpacked Size

    6.36 kB

    Total Files

    6

    Last publish

    Collaborators

    • avatar