fix(eslint): using ignorePatterns to replace .eslintignore (#12237)

Co-authored-by: xuwenqiang <xuwenqiang@kanzhun.com>
This commit is contained in:
MrXwq 2023-09-04 07:57:38 +08:00 committed by GitHub
parent 5bcd41cfef
commit d6d90925d0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 5 additions and 4 deletions

View File

@ -1,4 +0,0 @@
es
lib
dist
node_modules

View File

@ -7,6 +7,11 @@
"globals": { "globals": {
"vi": true "vi": true
}, },
"ignorePatterns": [
"es",
"lib",
"node_modules"
],
"overrides": [ "overrides": [
{ {
"files": ["src/**/*"], "files": ["src/**/*"],