@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: () => ContainerModule;

    Classes

    class TslintConfigurationProvider

    class TslintConfigurationProvider implements ConfigurationProvider {}

      constructor

      constructor(
      resolver: Resolver,
      fs: CachedFileSystem,
      cacheFactory: CacheFactory,
      builtinResolver: BuiltinResolver,
      directories: DirectoryService,
      options: GlobalOptions
      );

        method find

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

          method load

          load: (filename: string) => Configuration;

            method parse

            parse: (
            raw: TSLint.Configuration.IConfigurationFile,
            filename: string
            ) => Configuration;

              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 }: LineSwitchParserContext) => 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>