eslint-plugin-diff
Advanced tools
Comparing version 1.0.13-3 to 1.0.13-4
"use strict"; | ||
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { | ||
if (k2 === undefined) k2 = k; | ||
Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } }); | ||
var desc = Object.getOwnPropertyDescriptor(m, k); | ||
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { | ||
desc = { enumerable: true, get: function() { return m[k]; } }; | ||
} | ||
Object.defineProperty(o, k2, desc); | ||
}) : (function(o, m, k, k2) { | ||
@@ -39,2 +43,3 @@ if (k2 === undefined) k2 = k; | ||
"diff", | ||
"--diff-algorithm=histogram", | ||
"--diff-filter=ACM", | ||
@@ -64,2 +69,3 @@ "--relative", | ||
"diff", | ||
"--diff-algorithm=histogram", | ||
"--diff-filter=ACM", | ||
@@ -85,3 +91,2 @@ "--name-only", | ||
const getGitFileList = () => { | ||
console.log("getGitFileList"); | ||
if (RUNNING_INSIDE_VSCODE || gitFileListCache === undefined) { | ||
@@ -88,0 +93,0 @@ const command = ["git", "ls-files"].filter(Boolean).join(" "); |
@@ -6,5 +6,5 @@ declare const configs: { | ||
declare const processors: { | ||
diff: import("eslint").Linter.Processor<string | import("eslint").Linter.ProcessorFile>; | ||
staged: import("eslint").Linter.Processor<string | import("eslint").Linter.ProcessorFile>; | ||
diff: Required<import("eslint").Linter.Processor<string | import("eslint").Linter.ProcessorFile>>; | ||
staged: Required<import("eslint").Linter.Processor<string | import("eslint").Linter.ProcessorFile>>; | ||
}; | ||
export { configs, processors }; |
import type { Linter } from "eslint"; | ||
declare const diff: Linter.Processor<string | Linter.ProcessorFile>; | ||
declare const staged: Linter.Processor<string | Linter.ProcessorFile>; | ||
declare const diff: Required<Linter.Processor<string | Linter.ProcessorFile>>; | ||
declare const staged: Required<Linter.Processor<string | Linter.ProcessorFile>>; | ||
declare const diffConfig: Linter.BaseConfig; | ||
declare const stagedConfig: Linter.BaseConfig; | ||
export { diff, diffConfig, staged, stagedConfig }; |
{ | ||
"name": "eslint-plugin-diff", | ||
"version": "1.0.13-3", | ||
"version": "1.0.13-4", | ||
"description": "Run ESLint on your changes only", | ||
@@ -43,27 +43,27 @@ "keywords": [ | ||
"devDependencies": { | ||
"@paleite/eslint-config": "canary", | ||
"@paleite/eslint-config-base": "canary", | ||
"@paleite/eslint-config-typescript": "canary", | ||
"@paleite/jest-config": "canary", | ||
"@paleite/prettier-config": "canary", | ||
"@paleite/tsconfig-node16": "canary", | ||
"@types/eslint": "^8.2.1", | ||
"@types/jest": "^27.0.3", | ||
"@types/node": "^16.11.13", | ||
"@typescript-eslint/eslint-plugin": "^5.7.0", | ||
"@typescript-eslint/parser": "^5.7.0", | ||
"eslint": "^8.4.1", | ||
"eslint-config-prettier": "^8.3.0", | ||
"@paleite/eslint-config": "^1.0.0", | ||
"@paleite/eslint-config-base": "^1.0.0", | ||
"@paleite/eslint-config-typescript": "^1.0.0", | ||
"@paleite/jest-config": "^1.0.0", | ||
"@paleite/prettier-config": "^1.0.0", | ||
"@paleite/tsconfig-node16": "^1.0.0", | ||
"@types/eslint": "^8.4.1", | ||
"@types/jest": "^27.4.1", | ||
"@types/node": "^16.11.26", | ||
"@typescript-eslint/eslint-plugin": "^5.15.0", | ||
"@typescript-eslint/parser": "^5.15.0", | ||
"eslint": "^8.11.0", | ||
"eslint-config-prettier": "^8.5.0", | ||
"eslint-files": "^1.0.0", | ||
"eslint-plugin-import": "^2.25.3", | ||
"eslint-plugin-promise": "^5.2.0", | ||
"eslint-plugin-import": "^2.25.4", | ||
"eslint-plugin-promise": "^6.0.0", | ||
"husky": "^7.0.4", | ||
"jest": "^27.4.5", | ||
"jest-mock": "^27.4.2", | ||
"lint-staged": "^12.1.2", | ||
"np": "^7.6.0", | ||
"pinst": "^2.1.6", | ||
"prettier": "^2.5.1", | ||
"ts-jest": "^27.1.1", | ||
"typescript": "^4.5.4" | ||
"jest": "^27.5.1", | ||
"jest-mock": "^27.5.1", | ||
"lint-staged": "^12.3.7", | ||
"np": "^7.6.1", | ||
"pinst": "^3.0.0", | ||
"prettier": "^2.6.0", | ||
"ts-jest": "^27.1.3", | ||
"typescript": "^4.6.2" | ||
}, | ||
@@ -70,0 +70,0 @@ "peerDependencies": { |
@@ -1,2 +0,2 @@ | ||
# eslint-plugin-diff | ||
# eslint-plugin-diff ![](https://img.shields.io/npm/dt/eslint-plugin-diff?style=flat-square&logo=npm&logoColor=white) | ||
@@ -3,0 +3,0 @@ Run ESLint on your changed lines only. Now with CI support! |
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
22843
319