eslint-config-flat-gitignore
Advanced tools
Comparing version 0.1.8 to 0.2.0
@@ -9,2 +9,3 @@ interface FlatGitignoreOptions { | ||
* Path to `.gitignore` files, or files with compatible formats like `.eslintignore`. | ||
* @default ['.gitignore'] // or findUpSync('.gitignore') | ||
*/ | ||
@@ -14,2 +15,3 @@ files?: string | string[]; | ||
* Throw an error if gitignore file not found. | ||
* @default true | ||
*/ | ||
@@ -25,2 +27,8 @@ strict?: boolean; | ||
root?: boolean; | ||
/** | ||
* Current working directory. | ||
* Used to resolve relative paths. | ||
* @default process.cwd() | ||
*/ | ||
cwd?: string; | ||
} | ||
@@ -27,0 +35,0 @@ interface FlatConfigItem { |
{ | ||
"name": "eslint-config-flat-gitignore", | ||
"type": "module", | ||
"version": "0.1.8", | ||
"packageManager": "pnpm@9.5.0", | ||
"version": "0.2.0", | ||
"packageManager": "pnpm@9.9.0", | ||
"description": ".gitignore support for ESLint Flat Config", | ||
@@ -54,20 +54,20 @@ "author": "Anthony Fu <anthonyfu117@hotmail.com>", | ||
"dependencies": { | ||
"find-up-simple": "^1.0.0", | ||
"parse-gitignore": "^2.0.0" | ||
"@eslint/compat": "^1.1.1", | ||
"find-up-simple": "^1.0.0" | ||
}, | ||
"devDependencies": { | ||
"@antfu/eslint-config": "^2.22.3", | ||
"@antfu/ni": "^0.22.0", | ||
"@antfu/eslint-config": "^2.27.3", | ||
"@antfu/ni": "^0.23.0", | ||
"@antfu/utils": "^0.7.10", | ||
"@types/node": "^20.14.10", | ||
"bumpp": "^9.4.1", | ||
"eslint": "^9.7.0", | ||
"@types/node": "^22.5.1", | ||
"bumpp": "^9.5.2", | ||
"eslint": "^9.9.1", | ||
"esno": "^4.7.0", | ||
"lint-staged": "^15.2.7", | ||
"pnpm": "^9.5.0", | ||
"lint-staged": "^15.2.9", | ||
"pnpm": "^9.9.0", | ||
"simple-git-hooks": "^2.11.1", | ||
"typescript": "^5.5.3", | ||
"typescript": "^5.5.4", | ||
"unbuild": "^2.0.0", | ||
"vite": "^5.3.4", | ||
"vitest": "^2.0.3" | ||
"vite": "^5.4.2", | ||
"vitest": "^2.0.5" | ||
}, | ||
@@ -74,0 +74,0 @@ "simple-git-hooks": { |
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
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
14089
166
+ Added@eslint/compat@^1.1.1
+ Added@eslint/compat@1.2.0(transitive)
- Removedparse-gitignore@^2.0.0
- Removedparse-gitignore@2.0.0(transitive)