Adds the Fimbullinter to VSCode.
The linter is configured by a .wotanrc.yaml
file in your workspace. Please refer to the documentation for more details about the configuration.
A list of available core rules can be found here.
This extension provides real-time linting while you type by adding Fimbullinter as LanguageService Plugin to TypeScript for all languages powered by the TypeScript services.
You only need this extension if you use the version of TypeScript that comes bundled with VSCode. If you use the workspace version of TypeScript, you can use @fimbul/mithotyn
directly in tsconfig.json
.
To correctly configure the plugin you need at least vscode@^1.30.0
and typescript@^3.2.1
.
You need to install the actual linter @fimbul/wotan
as a (dev)dependency in your workspace. Global installations are not supported.
This extension uses the same configuration options as @fimbul/mithotyn
.
If you don't add any configuration through VSCode it uses the plugin config from your tsconfig.json
.
This extension has the following settings:
wotan.displayErrorsAsWarnings
: Display errors as warnings to get yellow squiggles instead of red. This doesn't affect other severities.