![require(esm) Backported to Node.js 20, Paving the Way for ESM-Only Packages](https://cdn.sanity.io/images/cgdhsj6q/production/be8ab80c8efa5907bc341c6fefe9aa20d239d890-1600x1097.png?w=400&fit=max&auto=format)
Security News
require(esm) Backported to Node.js 20, Paving the Way for ESM-Only Packages
require(esm) backported to Node.js 20, easing the transition to ESM-only packages and reducing complexity for developers as Node 18 nears end-of-life.
@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 0 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.
Security News
require(esm) backported to Node.js 20, easing the transition to ESM-only packages and reducing complexity for developers as Node 18 nears end-of-life.
Security News
PyPI now supports iOS and Android wheels, making it easier for Python developers to distribute mobile packages.
Security News
Create React App is officially deprecated due to React 19 issues and lack of maintenance—developers should switch to Vite or other modern alternatives.