@fimbul/mimir
Advanced tools
Comparing version 0.20.0 to 0.21.0-dev.20190318
{ | ||
"name": "@fimbul/mimir", | ||
"version": "0.20.0", | ||
"version": "0.21.0-dev.20190318", | ||
"description": "Core rules of the Fimbullinter project", | ||
@@ -28,3 +28,3 @@ "main": "recommended.yaml", | ||
"dependencies": { | ||
"@fimbul/ymir": "^0.18.0", | ||
"@fimbul/ymir": "0.21.0-dev.20190318", | ||
"chalk": "^2.3.2", | ||
@@ -31,0 +31,0 @@ "debug": "^4.0.0", |
import { ConfigurableRule } from '@fimbul/ymir'; | ||
import * as ts from 'typescript'; | ||
export interface Options { | ||
@@ -7,5 +6,4 @@ style: 'classic' | 'as'; | ||
export declare class Rule extends ConfigurableRule<Options> { | ||
static supports(sourceFile: ts.SourceFile): boolean; | ||
parseOptions(options: Partial<Options> | null | undefined): Options; | ||
apply(): void; | ||
} |
@@ -9,5 +9,2 @@ "use strict"; | ||
let Rule = class Rule extends ymir_1.ConfigurableRule { | ||
static supports(sourceFile) { | ||
return sourceFile.languageVariant === ts.LanguageVariant.Standard; | ||
} | ||
parseOptions(options) { | ||
@@ -24,3 +21,4 @@ return { | ||
ymir_1.typescriptOnly, | ||
ymir_1.excludeDeclarationFiles | ||
ymir_1.excludeDeclarationFiles, | ||
ymir_1.predicate((sourceFile) => sourceFile.languageVariant === ts.LanguageVariant.Standard || 'excludes JSX files') | ||
], Rule); | ||
@@ -27,0 +25,0 @@ exports.Rule = Rule; |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
328
402007
4725
+ Added@fimbul/ymir@0.21.0-dev.20190318(transitive)
- Removed@fimbul/ymir@0.18.0(transitive)