eslint-plugin-prefer-arrow-functions
Advanced tools
Comparing version 3.6.1 to 3.6.2
import { TSESTree } from '@typescript-eslint/types'; | ||
import { RuleContext } from '@typescript-eslint/utils/ts-eslint'; | ||
import { TSESLint } from '@typescript-eslint/utils'; | ||
export type AnyFunctionBody = TSESTree.BlockStatement | TSESTree.Expression; | ||
@@ -20,3 +20,3 @@ export type AnyFunction = TSESTree.FunctionDeclaration | TSESTree.FunctionExpression | TSESTree.ArrowFunctionExpression; | ||
options: ActualOptions; | ||
sourceCode: RuleContext<MessageId, Options>['sourceCode']; | ||
sourceCode: TSESLint.RuleContext<MessageId, Options>['sourceCode']; | ||
} | ||
@@ -23,0 +23,0 @@ export interface ActualOptions { |
import { TSESLint } from '@typescript-eslint/utils'; | ||
declare const plugin: TSESLint.FlatConfig.Plugin; | ||
export default plugin; | ||
export declare const meta: { | ||
name?: string | undefined; | ||
version?: string | undefined; | ||
} | undefined, rules: Record<string, TSESLint.LooseRuleDefinition> | undefined; |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.rules = exports.meta = void 0; | ||
const rule_1 = require("./rule"); | ||
@@ -14,3 +15,3 @@ const { name, version } = | ||
}; | ||
exports.default = plugin; | ||
exports.meta = plugin.meta, exports.rules = plugin.rules; | ||
//# sourceMappingURL=index.js.map |
{ | ||
"name": "eslint-plugin-prefer-arrow-functions", | ||
"description": "Convert functions to arrow functions", | ||
"version": "3.6.1", | ||
"version": "3.6.2", | ||
"author": "Jamie Mason (https://github.com/JamieMason)", | ||
@@ -6,0 +6,0 @@ "bugs": "https://github.com/JamieMason/eslint-plugin-prefer-arrow-functions/issues", |
Sorry, the diff of this file is not supported yet
43298
521