Function eslintRules

  • Parameters

    • skipWords: never[] = []
    • rules: {} = {}

      Returns {
          @typescript-eslint/ban-ts-comment: string;
          @typescript-eslint/no-explicit-any: string[];
          array-bracket-spacing: string[];
          brace-style: (string | {
              allowSingleLine: boolean;
          })[];
          comma-dangle: string[];
          import/exports-last: string[];
          import/first: string[];
          import/newline-after-import: string[];
          import/no-duplicates: string[];
          import/order: (string | {
              newlines-between: string;
          })[];
          indent: (string | number | {
              SwitchCase: number;
          })[];
          key-spacing: (string | {
              afterColon: boolean;
              beforeColon: boolean;
          })[];
          linebreak-style: string[];
          max-lines: (string | number)[];
          max-statements: (string | number)[];
          no-irregular-whitespace: (string | {
              skipComments: boolean;
              skipRegExps: boolean;
              skipStrings: boolean;
              skipTemplates: boolean;
          })[];
          no-mixed-spaces-and-tabs: (string | boolean)[];
          no-multi-spaces: (string | {
              ignoreEOLComments: boolean;
          })[];
          no-multiple-empty-lines: (string | {
              max: number;
          })[];
          no-trailing-spaces: (string | {
              skipBlankLines: boolean;
          })[];
          no-undef: string[];
          no-useless-escape: string;
          object-curly-spacing: string[];
          prettier/prettier: (string | {
              usePrettierrc?: undefined;
          } | {
              usePrettierrc: boolean;
          })[];
          quotes: string[];
          semi: string[];
          space-before-blocks: string[];
          spaced-comment: string[];
          spellcheck/spell-checker: (string | {
              comments: boolean;
              identifiers: boolean;
              lang: string;
              minLength: number;
              skipIfMatch: string[];
              skipWordIfMatch: string[];
              skipWords: string[];
              strings: boolean;
          })[];
          zob/comment: string;
      }

      • @typescript-eslint/ban-ts-comment: string
      • @typescript-eslint/no-explicit-any: string[]
      • array-bracket-spacing: string[]
      • brace-style: (string | {
            allowSingleLine: boolean;
        })[]
      • comma-dangle: string[]
      • import/exports-last: string[]
      • import/first: string[]
      • import/newline-after-import: string[]
      • import/no-duplicates: string[]
      • import/order: (string | {
            newlines-between: string;
        })[]
      • indent: (string | number | {
            SwitchCase: number;
        })[]
      • key-spacing: (string | {
            afterColon: boolean;
            beforeColon: boolean;
        })[]
      • linebreak-style: string[]
      • max-lines: (string | number)[]
      • max-statements: (string | number)[]
      • no-irregular-whitespace: (string | {
            skipComments: boolean;
            skipRegExps: boolean;
            skipStrings: boolean;
            skipTemplates: boolean;
        })[]
      • no-mixed-spaces-and-tabs: (string | boolean)[]
      • no-multi-spaces: (string | {
            ignoreEOLComments: boolean;
        })[]
      • no-multiple-empty-lines: (string | {
            max: number;
        })[]
      • no-trailing-spaces: (string | {
            skipBlankLines: boolean;
        })[]
      • no-undef: string[]
      • no-useless-escape: string
      • object-curly-spacing: string[]
      • prettier/prettier: (string | {
            usePrettierrc?: undefined;
        } | {
            usePrettierrc: boolean;
        })[]
      • quotes: string[]
      • semi: string[]
      • space-before-blocks: string[]
      • spaced-comment: string[]
      • spellcheck/spell-checker: (string | {
            comments: boolean;
            identifiers: boolean;
            lang: string;
            minLength: number;
            skipIfMatch: string[];
            skipWordIfMatch: string[];
            skipWords: string[];
            strings: boolean;
        })[]
      • zob/comment: string