@fimbul/valtyr

  • Version 0.24.0
  • Published
  • 44.3 kB
  • 5 dependencies
  • Apache-2.0 license

Install

npm i @fimbul/valtyr
yarn add @fimbul/valtyr
pnpm add @fimbul/valtyr

Overview

Wotan plugin to behave almost like TSLint

Index

Functions

function createModule

createModule: () => any;

    Classes

    class TslintConfigurationProvider

    class TslintConfigurationProvider implements ConfigurationProvider {}

      constructor

      constructor(
      resolver: any,
      fs: any,
      cacheFactory: any,
      builtinResolver: any,
      directories: any,
      options: any
      );

        method find

        find: (fileName: string) => string | undefined;

          method load

          load: (filename: string) => any;

            method parse

            parse: (raw: any, filename: string) => any;

              method resolve

              resolve: (name: string, basedir: string) => string;

                class TslintFormatterLoaderHost

                class TslintFormatterLoaderHost implements FormatterLoaderHost {}

                  property loadCoreFormatter

                  loadCoreFormatter: (name: string) => any;

                    property loadCustomFormatter

                    loadCustomFormatter: (name: string) => any;

                      class TslintLineSwitchParser

                      class TslintLineSwitchParser implements LineSwitchParser {}

                        method parse

                        parse: ({ sourceFile }: any) => RawLineSwitch[];

                          class TslintRuleLoaderHost

                          class TslintRuleLoaderHost implements RuleLoaderHost {}

                            method loadCoreRule

                            loadCoreRule: (name: string) => RuleConstructor | undefined;

                              method loadCustomRule

                              loadCustomRule: (name: string, dir: string) => RuleConstructor | undefined;

                                Package Files (5)

                                Dependencies (5)

                                Dev Dependencies (2)

                                Peer Dependencies (2)

                                Badge

                                To add a badge like this onejsDocs.io badgeto your package's README, use the codes available below.

                                You may also use Shields.io to create a custom badge linking to https://www.jsdocs.io/package/@fimbul/valtyr.

                                • Markdown
                                  [![jsDocs.io](https://img.shields.io/badge/jsDocs.io-reference-blue)](https://www.jsdocs.io/package/@fimbul/valtyr)
                                • HTML
                                  <a href="https://www.jsdocs.io/package/@fimbul/valtyr"><img src="https://img.shields.io/badge/jsDocs.io-reference-blue" alt="jsDocs.io"></a>