
Security News
High Salaries No Longer Enough to Attract Top Cybersecurity Talent
A survey of 500 cybersecurity pros reveals high pay isn't enough—lack of growth and flexibility is driving attrition and risking organizational security.
@fimbul/mithotyn
Advanced tools
TypeScript LanguageService Plugin that provides real-time in-editor linting while you type.
Make sure to also read the full documentation of all available modules.
npm install --save-dev @fimbul/wotan @fimbul/mithotyn
# or
yarn add -D @fimbul/wotan @fimbul/mithotyn
To enable this plugin, you need to add @fimbul/mithotyn
as plugin in your tsconfig.json
. For example:
{
"compilerOptions": {
"plugins": [
{ "name": "@fimbul/mithotyn" }
],
// your existing compilerOptions
"strict": true,
}
}
Make sure you have @fimbul/wotan
installed in the project directory or a parent directory.
.fimbullinter.yaml
Like the CLI this plugin uses your configurations from a file named .fimbullinter.yaml
. The main difference is that it doesn't only look for this file in the current directory but also in all parent directories.
This is necessary because there is likely only one .fimbullinter.yaml
in the root of your workspace, but multiple TypeScript projects may exist in subdirectories.
The following options are used if present in that file. Note that all paths and modules are resolved relative to the directory containing this configuration file.
modules
: loads the specified plugin modules to customize linter behaviorconfig
: use the specified configuration file for all filesfiles
: only lint files matching one of the given glob patternsexclude
: exclude files matching one of the given glob patternsTo customize your in-editor linting experience you can use the following configuration options:
displayErrorsAsWarnings: boolean
: Report findings with severity error
as warning to make them distinguishable from real type errors (e.g. yellow instead of red squiggles in VS Code)Example:
{
"compilerOptions": {
"plugins": [
{
"name": "@fimbul/mithotyn",
"displayErrorsAsWarnings": true
}
],
// your existing compilerOptions
"strict": true,
}
}
In Visual Studio Code you can choose between the version of TypeScript that comes bundled with the editor or the local one installed in the workspace. Due to technical limitations you need to choose the workspace version to correctly pick up the plugin configured in the previous section.
TypeScript: Select TypeScript Version.
Use Workspace Version
Other editors might work the same as VS Code.
To work around this limitation there is an editor plugin that automatically loads this LanguageService plugin: https://marketplace.visualstudio.com/items?itemName=fimbullinter.vscode-plugin
There are some limitations of the current implementation.
The following limitations will likely be fixed in future releases.
.wotanrc.yaml
and .fimbullinter.yaml
filesApache-2.0 © Klaus Meinhardt
v0.24.0
:tada: This release contains two major features: caching and code fixes in the LanguageService plugin.
:warning: Breaking Changes:
The changes in the LanguageService plugin require that you update the @fimbul/mithotyn
dependency and the fimbullinter.vscode-plugin
VSCode plugin if you were using one of them.
Features:
no-object-spread-of-iterable
warns about spreading an array into an objectno-implicit-tostring
warns about implicit string coercion of certain types--cache
enables caching for fast incremental linting. Read more about cachingFAQs
TypeScript LanguageService plugin for the Fimbullinter project
The npm package @fimbul/mithotyn receives a total of 62 weekly downloads. As such, @fimbul/mithotyn popularity was classified as not popular.
We found that @fimbul/mithotyn 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
A survey of 500 cybersecurity pros reveals high pay isn't enough—lack of growth and flexibility is driving attrition and risking organizational security.
Product
Socket, the leader in open source security, is now available on Google Cloud Marketplace for simplified procurement and enhanced protection against supply chain attacks.
Security News
Corepack will be phased out from future Node.js releases following a TSC vote.