File tree Expand file tree Collapse file tree 2 files changed +10
-10
lines changed
Expand file tree Collapse file tree 2 files changed +10
-10
lines changed Original file line number Diff line number Diff line change 11import process from 'node:process' ;
22import path from 'node:path' ;
33import { ESLint } from 'eslint' ;
4- import globby from 'globby' ;
4+ import { globby , isGitIgnoredSync } from 'globby' ;
55import { isEqual } from 'lodash-es' ;
66import micromatch from 'micromatch' ;
77import arrify from 'arrify' ;
@@ -123,7 +123,7 @@ const lintText = async (string, inputOptions = {}) => {
123123
124124 if (
125125 micromatch . isMatch ( filename , options . baseConfig . ignorePatterns )
126- || globby . gitignore . sync ( { cwd : options . cwd , ignore : options . baseConfig . ignorePatterns } ) ( filePath )
126+ || isGitIgnoredSync ( { cwd : options . cwd , ignore : options . baseConfig . ignorePatterns } ) ( filePath )
127127 || await engine . isPathIgnored ( filePath )
128128 ) {
129129 return {
Original file line number Diff line number Diff line change 5252 " typescript"
5353 ],
5454 "dependencies" : {
55- "@eslint/eslintrc" : " ^0.4.2 " ,
56- "@typescript-eslint/eslint-plugin" : " ^4.28.3 " ,
57- "@typescript-eslint/parser" : " ^4.28.3 " ,
55+ "@eslint/eslintrc" : " ^0.4.3 " ,
56+ "@typescript-eslint/eslint-plugin" : " ^4.29.0 " ,
57+ "@typescript-eslint/parser" : " ^4.29.0 " ,
5858 "arrify" : " ^3.0.0" ,
5959 "cosmiconfig" : " ^7.0.0" ,
6060 "debug" : " ^4.3.2" ,
6161 "define-lazy-prop" : " ^3.0.0" ,
62- "eslint" : " ^7.30 .0" ,
62+ "eslint" : " ^7.32 .0" ,
6363 "eslint-config-prettier" : " ^8.3.0" ,
6464 "eslint-config-xo" : " ^0.37.0" ,
6565 "eslint-config-xo-typescript" : " ^0.43.0" ,
7878 "find-up" : " ^5.0.0" ,
7979 "fs-extra" : " ^10.0.0" ,
8080 "get-stdin" : " ^9.0.0" ,
81- "globby" : " ^11 .0.4 " ,
81+ "globby" : " ^12 .0.0 " ,
8282 "imurmurhash" : " ^0.1.4" ,
8383 "is-path-inside" : " ^4.0.0" ,
8484 "json-stable-stringify-without-jsonify" : " ^1.0.1" ,
8585 "json5" : " ^2.2.0" ,
8686 "lodash-es" : " ^4.17.21" ,
87- "meow" : " ^10.1.0 " ,
87+ "meow" : " ^10.1.1 " ,
8888 "micromatch" : " ^4.0.4" ,
8989 "open-editor" : " ^3.0.0" ,
9090 "p-filter" : " ^2.1.0" ,
91- "p-map" : " ^5.0 .0" ,
91+ "p-map" : " ^5.1 .0" ,
9292 "p-reduce" : " ^3.0.0" ,
9393 "path-exists" : " ^4.0.0" ,
9494 "prettier" : " ^2.3.2" ,
106106 "nyc" : " ^15.1.0" ,
107107 "proxyquire" : " ^2.1.3" ,
108108 "temp-write" : " ^5.0.0" ,
109- "webpack" : " ^5.45 .0"
109+ "webpack" : " ^5.48 .0"
110110 },
111111 "eslintConfig" : {
112112 "extends" : [
You can’t perform that action at this time.
0 commit comments