@typescript-eslint/experimental-utils
Advanced tools
Comparing version 1.9.1-alpha.8 to 1.9.1-alpha.9
import { RuleMetaData, RuleMetaDataDocs, RuleListener, RuleContext, RuleModule } from '../ts-eslint/Rule'; | ||
declare type RemoveProps<TObj extends Record<string, any>, TKeys extends keyof TObj> = Pick<TObj, Exclude<keyof TObj, TKeys>>; | ||
declare type CreateRuleMetaDocs = RemoveProps<RuleMetaDataDocs, 'url'> & { | ||
tslintName?: string; | ||
}; | ||
declare type CreateRuleMetaDocs = RemoveProps<RuleMetaDataDocs, 'url'>; | ||
declare type CreateRuleMeta<TMessageIds extends string> = { | ||
@@ -7,0 +5,0 @@ docs: CreateRuleMetaDocs; |
@@ -9,5 +9,3 @@ "use strict"; | ||
return { | ||
meta: Object.assign({}, meta, { docs: Object.assign({}, meta.docs, { url: urlCreator(name), extraDescription: meta.docs.tslintName | ||
? [`\`${meta.docs.tslintName}\` from TSLint`] | ||
: undefined }) }), | ||
meta: Object.assign({}, meta, { docs: Object.assign({}, meta.docs, { url: urlCreator(name) }) }), | ||
create(context) { | ||
@@ -14,0 +12,0 @@ const optionsWithDefault = applyDefault_1.applyDefault(defaultOptions, context.options); |
{ | ||
"name": "@typescript-eslint/experimental-utils", | ||
"version": "1.9.1-alpha.8+c480eab", | ||
"version": "1.9.1-alpha.9+4edf0d7", | ||
"description": "(Experimental) Utilities for working with TypeScript + ESLint together", | ||
@@ -35,3 +35,3 @@ "keywords": [ | ||
"dependencies": { | ||
"@typescript-eslint/typescript-estree": "1.9.1-alpha.8+c480eab", | ||
"@typescript-eslint/typescript-estree": "1.9.1-alpha.9+4edf0d7", | ||
"eslint-scope": "^4.0.0" | ||
@@ -43,3 +43,3 @@ }, | ||
}, | ||
"gitHead": "c480eabb60a5876f565d00f71240b6a10726f309" | ||
"gitHead": "4edf0d71ef0a8a3370165e804dd693033d6207bc" | ||
} |
Sorry, the diff of this file is not supported yet
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
Manifest confusion
Supply chain riskThis package has inconsistent metadata. This could be malicious or caused by an error when publishing the package.
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
Manifest confusion
Supply chain riskThis package has inconsistent metadata. This could be malicious or caused by an error when publishing the package.
Found 1 instance in 1 package
127215
1412