eslint-config-flat-gitignore
Advanced tools
Comparing version 0.1.2 to 0.1.3
interface FlatGitignoreOptions { | ||
/** | ||
* Path to `.gitignore` files, or files with compatible formats like `.eslintignore`. | ||
*/ | ||
files?: string | string[]; | ||
/** | ||
* Throw an error if gitignore file not found. | ||
*/ | ||
strict?: boolean; | ||
/** | ||
* Mark the current working directory as the root directory, | ||
* disable searching for `.gitignore` files in parent directories. | ||
* | ||
* This option is not effective when `files` is explicitly specified. | ||
* @default false | ||
*/ | ||
root?: boolean; | ||
} | ||
@@ -5,0 +19,0 @@ interface FlatConfigItem { |
{ | ||
"name": "eslint-config-flat-gitignore", | ||
"type": "module", | ||
"version": "0.1.2", | ||
"packageManager": "pnpm@8.11.0", | ||
"version": "0.1.3", | ||
"packageManager": "pnpm@8.15.1", | ||
"description": ".gitignore support for ESLint Flat Config", | ||
@@ -49,3 +49,3 @@ "author": "Anthony Fu <anthonyfu117@hotmail.com>", | ||
"start": "esno src/index.ts", | ||
"test": "vitest", | ||
"test": "vitest --pool=forks", | ||
"typecheck": "tsc --noEmit", | ||
@@ -55,20 +55,21 @@ "prepare": "simple-git-hooks" | ||
"dependencies": { | ||
"find-up": "^7.0.0", | ||
"parse-gitignore": "^2.0.0" | ||
}, | ||
"devDependencies": { | ||
"@antfu/eslint-config": "^2.1.2", | ||
"@antfu/eslint-config": "^2.6.4", | ||
"@antfu/ni": "^0.21.12", | ||
"@antfu/utils": "^0.7.6", | ||
"@types/node": "^20.10.1", | ||
"bumpp": "^9.2.0", | ||
"eslint": "^8.54.0", | ||
"@antfu/utils": "^0.7.7", | ||
"@types/node": "^20.11.17", | ||
"bumpp": "^9.3.0", | ||
"eslint": "^8.56.0", | ||
"esno": "^4.0.0", | ||
"lint-staged": "^15.1.0", | ||
"pnpm": "^8.11.0", | ||
"lint-staged": "^15.2.2", | ||
"pnpm": "^8.15.1", | ||
"rimraf": "^5.0.5", | ||
"simple-git-hooks": "^2.9.0", | ||
"typescript": "^5.3.2", | ||
"typescript": "^5.3.3", | ||
"unbuild": "^2.0.0", | ||
"vite": "^5.0.4", | ||
"vitest": "^0.34.6" | ||
"vite": "^5.1.1", | ||
"vitest": "^1.2.2" | ||
}, | ||
@@ -75,0 +76,0 @@ "simple-git-hooks": { |
@@ -51,2 +51,10 @@ # eslint-config-flat-gitignore | ||
By default, this plugin will try to look up the directory tree and match the first `.gitignore` file. You can disable this by setting the `root` option to `true`, or specify the `files` option to a specific path. | ||
```js | ||
gitignore({ | ||
root: true | ||
}) | ||
``` | ||
## Sponsors | ||
@@ -64,3 +72,2 @@ | ||
<!-- Badges --> | ||
@@ -67,0 +74,0 @@ |
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
10394
103
83
2
+ Addedfind-up@^7.0.0
+ Addedfind-up@7.0.0(transitive)
+ Addedlocate-path@7.2.0(transitive)
+ Addedp-limit@4.0.0(transitive)
+ Addedp-locate@6.0.0(transitive)
+ Addedpath-exists@5.0.0(transitive)
+ Addedunicorn-magic@0.1.0(transitive)
+ Addedyocto-queue@1.1.1(transitive)