Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@fimbul/wotan

Package Overview
Dependencies
Maintainers
2
Versions
180
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@fimbul/wotan - npm Package Versions

1
1617

0.3.0

Diff

Changelog

Source

v0.3.0

Features:

valtyr added support for processors via .fimbullinter.yaml

ajaff
published 0.2.0 •

Changelog

Source

v0.2.0

Features:

  • Added some documentation on how to use the API
  • wotan:
    • new rule no-useless-initializer
    • Renamed --format CLI argument to --formatter
    • Added support for a configuration file with CLI defaults called .fimbullinter.yaml
    • Added wotan save subcommand to write or update .fimbullinter.yaml
    • Some internal refactoring and breaking API changes for plugin modules
    • wotan show subcommand added optional -c option
    • Refactored failure filtering to allow custom services to filter by different criteria than line base comments with rule names.
  • valtyr:
    • Added new package @fimbul/valtyr to enable TSLint-like behavior
    • Uses tslint.json files for configuration
    • Uses TSLint rules and formatters
    • Filters by //tslint:disable comments
    • Cannot be used together with .wotanrc.yaml or Wotan rules and formatters
    • The next release will include support for processors by using the new .fimbullinter.yaml file
  • bifrost:
    • Enforce that rules add failures for the current SourceFile only
    • wrapTslintRule: name parameter is now optional

Bugfixes:

  • wotan:
    • Really "Include missing declarations in bundled declaration files" which was documented as part of v0.1.0
    • Fixed logic to find and report unmatched files in processed projects
    • Fixed crash during directory scanning when using --project if a directory contains an invalid .wotanrc.yaml file
harbard
published 0.2.0-dev.20180223 •

harbard
published 0.2.0-dev.20180222 •

harbard
published 0.2.0-dev.20180221 •

harbard
published 0.2.0-dev.20180220 •

harbard
published 0.2.0-dev.20180218 •

ajaff
published 0.1.0 •

Changelog

Source

v0.1.0

Features:

  • Enabled nightly builds for all packages. These can be installed with yarn add @fimbul/wotan@next @fimbul/ve@next ... (or npm install if you prefer).
  • ve: use SAX parser for performance and avoid false positive matches of <script> tags
  • wotan:
    • New rule typecheck: type errors as lint rule failures (similar to tslint --type-check, but is correctly formatted and can be ignored like any other rule)
    • New rule syntaxcheck: syntax errors as lint rule failures
    • New rule no-inferred-empty-object: warns about uninferred type parameters that might cause unintended behavior
    • Introduced LineSwitchParser to allow overriding the default line switch handling
    • Introduced ConfigurationProvider to allow overriding the default config lookup and parsing
    • Removed implicit configuration lookup in home directory
    • Improved error reporting for errors in configuration files
    • Fail early for circular aliases or missing rulesDirectories in configuration files
    • Allow alias shorthands:
    overrides:
      prefix:
        name: some-rule-name # same as `name: { rule: some-rule-name }`
    
  • Added documentation for rule and package authors

Bugfixes:

  • Include missing declarations in bundled declaration files
  • wotan:
    • Rule no-useless-type-assertion now correctly handles class expressions and qualified type names
    • Detect MPEG TS files and show a warning. Such files are treated as if they were empty.
    • stylish formatter correctly displays line:col information for files with BOM
harbard
published 0.1.0-dev.20180213 •

ajaff
published 0.0.1 •

Changelog

Source

v0.0.1 - Initial Release

Packages:

  • @fimbul/wotan: The main linter runtime with a set of core rules and formatters
    • Available formatters: json and stylish (default)
    • Available rules:
      • await-promise warns about unnecessary await on non-Promise values
      • deprecation detects the use of deprecated APIs
      • no-debugger bans debugger; statements
      • no-fallthrough warns about unintentional fallthrough in switch cases
      • no-return-await warns about unnecessary return await foo; where you can just return foo;
      • no-unsafe-finally warns about control flow statements within the finally block
      • no-unused-expression warns about expressions without side-effects whose result is not used
      • no-unused-label does what the name suggests, really
      • no-useless-assertion detects assertions that don't change the type of the expression
      • trailing-newline enforces a line break on the last line of a file
      • try-catch-return-await enforces the use of return await foo; inside try-catch blocks
  • @fimbul/ve: The official processor plugin for Vue Single File Components
  • @fimbul/heimdall: Plugin to enable the use of TSLint rules and formatters within Wotan
  • @fimbul/bifrost: Allows authors of TSLint rules and formatters to make them available for Wotan without refactoring.
1
1617
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc