@fimbul/valtyr
Advanced tools
Comparing version
{ | ||
"name": "@fimbul/valtyr", | ||
"version": "0.24.0", | ||
"version": "0.25.0-dev.20210309", | ||
"description": "Wotan plugin to behave almost like TSLint", | ||
@@ -34,7 +34,7 @@ "author": "Klaus Meinhardt", | ||
"peerDependencies": { | ||
"@fimbul/wotan": "^0.24.0", | ||
"@fimbul/wotan": "0.25.0-dev.20210309", | ||
"typescript": ">= 4.0.0 || >= 4.2.0-dev" | ||
}, | ||
"dependencies": { | ||
"@fimbul/bifrost": "^0.24.0", | ||
"@fimbul/bifrost": "0.24.0", | ||
"inversify": "^5.0.0", | ||
@@ -41,0 +41,0 @@ "tslib": "^2.0.0", |
@@ -75,2 +75,3 @@ # Valtýr | ||
* Doesn't execute typed rules on unchecked JavaScript files. | ||
* Caching of lint results | ||
@@ -77,0 +78,0 @@ ## Caveats |
@@ -115,5 +115,5 @@ "use strict"; | ||
}; | ||
TslintConfigurationProvider = tslib_1.__decorate([ | ||
inversify_1.injectable(), | ||
tslib_1.__metadata("design:paramtypes", [wotan_1.Resolver, | ||
TslintConfigurationProvider = (0, tslib_1.__decorate)([ | ||
(0, inversify_1.injectable)(), | ||
(0, tslib_1.__metadata)("design:paramtypes", [wotan_1.Resolver, | ||
wotan_1.CachedFileSystem, | ||
@@ -120,0 +120,0 @@ wotan_1.CacheFactory, |
@@ -14,4 +14,4 @@ "use strict"; | ||
}; | ||
TslintFormatterLoaderHost = tslib_1.__decorate([ | ||
inversify_1.injectable() | ||
TslintFormatterLoaderHost = (0, tslib_1.__decorate)([ | ||
(0, inversify_1.injectable)() | ||
], TslintFormatterLoaderHost); | ||
@@ -21,4 +21,4 @@ exports.TslintFormatterLoaderHost = TslintFormatterLoaderHost; | ||
const result = TSLint.findFormatter(name); | ||
return result === undefined ? undefined : bifrost_1.wrapTslintFormatter(result); | ||
return result === undefined ? undefined : (0, bifrost_1.wrapTslintFormatter)(result); | ||
} | ||
//# sourceMappingURL=formatter-loader.js.map |
@@ -15,3 +15,3 @@ "use strict"; | ||
// not using `context.getCommentAtPosition` here is intentional, because it doesn't benefit from caching the converted AST | ||
const comment = tsutils_1.getCommentAtPosition(sourceFile, match.index); | ||
const comment = (0, tsutils_1.getCommentAtPosition)(sourceFile, match.index); | ||
if (comment === undefined || comment.pos !== match.index) | ||
@@ -73,4 +73,4 @@ continue; | ||
}; | ||
TslintLineSwitchParser = tslib_1.__decorate([ | ||
inversify_1.injectable() | ||
TslintLineSwitchParser = (0, tslib_1.__decorate)([ | ||
(0, inversify_1.injectable)() | ||
], TslintLineSwitchParser); | ||
@@ -77,0 +77,0 @@ exports.TslintLineSwitchParser = TslintLineSwitchParser; |
@@ -11,13 +11,13 @@ "use strict"; | ||
const rule = TSLint.findRule(name); | ||
return rule === undefined ? undefined : bifrost_1.wrapTslintRule(rule, name); | ||
return rule === undefined ? undefined : (0, bifrost_1.wrapTslintRule)(rule, name); | ||
} | ||
loadCustomRule(name, dir) { | ||
const rule = TSLint.findRule(name, dir); | ||
return rule === undefined ? undefined : bifrost_1.wrapTslintRule(rule, name); | ||
return rule === undefined ? undefined : (0, bifrost_1.wrapTslintRule)(rule, name); | ||
} | ||
}; | ||
TslintRuleLoaderHost = tslib_1.__decorate([ | ||
inversify_1.injectable() | ||
TslintRuleLoaderHost = (0, tslib_1.__decorate)([ | ||
(0, inversify_1.injectable)() | ||
], TslintRuleLoaderHost); | ||
exports.TslintRuleLoaderHost = TslintRuleLoaderHost; | ||
//# sourceMappingURL=rule-loader.js.map |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
44539
0.53%99
1.02%+ Added
+ Added
- Removed
- Removed
Updated