@wonderflow/eslint-config

    1.1.0 • Public • Published

    Wonderflow Eslint Configuration Wonderflow Logo

    Release

    This repository contains the source code of Wonderflow eslint rules to ensure your JS is compliant with Wonderflow JS coding standards.

    npm i -D @wonderflow/eslint-config

    Usage

    Extends the configuration from your local eslintrc configuration file:

    {
      "extends": "@wonderflow/eslint-config"
    }

    Typescript

    To add eslint typescript support you can extend the configuration by adding the parser and the plugin.

    npm i -D @typescript-eslint/parser @typescript-eslint/eslint-plugin
    {
      "extends": "@wonderflow/eslint-config",
      "parser": "@typescript-eslint/parser",
      "plugins": ["@typescript-eslint"]
    }

    Then create a tsconfig.eslint.json at the project root that extends your typescript configuration:

    {
      "extends": "./tsconfig.json"
    }

    Install

    npm i @wonderflow/eslint-config

    DownloadsWeekly Downloads

    57

    Version

    1.1.0

    License

    MIT

    Unpacked Size

    23.7 kB

    Total Files

    18

    Last publish

    Collaborators

    • bitliner