New Powerful Machines

    eslint-plugin-type-graphql

    1.0.0 • Public • Published

    npm version build codecov code style: prettier language

    eslint-plugin-type-graphql

    TypeGraphQL linting rules for ESLint

    Installation

    Install prerequisites:

    npm i -D eslint @typescript-eslint/parser

    Install eslint-plugin-type-graphql:

    npm i -D eslint-plugin-type-graphql

    Recommended configuration

    Create an ESLint configuration and add the plugin rules like so:

    {
      "plugins": ["type-graphql"],
      "extends": [
        "plugin:@typescript-eslint/recommended",
        "plugin:@typescript-eslint/recommended-requiring-type-checking",
        "plugin:type-graphql/recommended"
      ],
      "parser": "@typescript-eslint/parser"
    }

    Provided rules

    License

    This plugin is licensed under the Apache 2.0 license.

    Install

    npm i eslint-plugin-type-graphql

    DownloadsWeekly Downloads

    1,439

    Version

    1.0.0

    License

    Apache-2.0

    Unpacked Size

    102 kB

    Total Files

    52

    Last publish

    Collaborators

    • borremosch