JSPM

eslint-plugin-typescript-heck

0.0.1
    • ESM via JSPM
    • ES Module Entrypoint
    • Export Map
    • Keywords
    • License
    • Repository URL
    • TypeScript Types
    • README
    • Created
    • Published
    • Downloads 4
    • Score
      100M100P100Q31005F
    • License MIT

    Some extended eslint rules for typescript

    Package Exports

    • eslint-plugin-typescript-heck
    • eslint-plugin-typescript-heck/src/index.ts

    This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (eslint-plugin-typescript-heck) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

    Readme

    eslint-plugin-typescript-heck

    This package includes extended eslint rules for usage with Typescript.

    Rules

    Name Description
    typescript-array-spacing Enforces one space between type name and square brackets.

    typescript-array-spacing

    This rule enforces one space between type name and square brackets.

    Examples for invalid code:

    const myVar: string[] = [];
    function myFunc (parameter: number[]) {
        // ...
    }

    Examples for valid code:

    const myVar: string [] = [];
    function myFunc (parameter: number []) {
        // ...
    }