
Product
Introducing License Overlays: Smarter License Management for Real-World Code
Customize license detection with Socket’s new license overlays: gain control, reduce noise, and handle edge cases with precision.
@fimbul/valtyr
Advanced tools
Wotan module to lint according to your existing tslint.json
and tslint:disable
comments.
Make sure to also read the full documentation of all available modules.
Drop-in replacement for TSLint. Uses your existing tslint.json
files, loads TSLint rules and formatters and honors tslint:disable
comments.
npm install --save-dev @fimbul/wotan @fimbul/valtyr
# or
yarn add -D @fimbul/wotan @fimbul/valtyr
wotan -m @fimbul/valtyr
The -m @fimbul/valtyr
argument enables this package. It searches tslint.json
(or tslint.yaml
) files for configuration like TSLint does. It loads TSLint core rules as well as custom rules with the same rules as TSLint. It uses TSLint formatters to format the result.
There are only minor differences:
stylish
formatter is used by default*.d.ts
in your project are included by defaultWhy should you use Wotan to execute TSLint rules?
-p
flag.-c
, e.g. -c tslint:latest
or -c tslint-config-airbnb
.tslint:disable
comments faster with less overhead, especially in big files.This package allows you to use your existing TSLint configuration. On the other hand you cannot use any of the builtin rules of Wotan or all those other useful features like processors, overrides, aliases, etc. If you want to lint with your existing TSLint config and your new Wotan config, you need to run Wotan twice, which adds a lot of overhead.
Heimdall requires you to rewrite your linter configuration and switch to .wotanrc.yaml
(or .wotanrc.json
if you like that better).
In return you can use Wotans fully optimized builtin rules as well as all the other cool features.
Heimdall allows you to execute Wotan and TSLint rules in one single run.
Apache-2.0 © Klaus Meinhardt
FAQs
Wotan plugin to behave almost like TSLint
The npm package @fimbul/valtyr receives a total of 254 weekly downloads. As such, @fimbul/valtyr popularity was classified as not popular.
We found that @fimbul/valtyr demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 2 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Product
Customize license detection with Socket’s new license overlays: gain control, reduce noise, and handle edge cases with precision.
Product
Socket now supports Rust and Cargo, offering package search for all users and experimental SBOM generation for enterprise projects.
Product
Socket’s precomputed reachability slashes false positives by flagging up to 80% of vulnerabilities as irrelevant, with no setup and instant results.