Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error: Failed to load config "@ecomfe/eslint-config/san" to extend from. #57

Open
lhy666 opened this issue Jul 26, 2021 · 0 comments
Open

Comments

@lhy666
Copy link

lhy666 commented Jul 26, 2021

vscode配置代码自动修复,其他插件都没问题,就eslint-plugin-san这个老是报这个错...咋回事呀

本地依赖版本:
"devDependencies": { "@babel/eslint-parser": "^7.14.7", "@babel/eslint-plugin": "^7.14.5", "@baidu/talos-san-native-web": "^1.0.26", "@ecomfe/eslint-config": "^4.0.1", "@ecomfe/stylelint-config": "^1.0.0", "@typescript-eslint/eslint-plugin": "^4.15.2", "@typescript-eslint/parser": "^4.15.2", "babel-eslint": "^10.0.0", "eslint": "^7.31.0", "eslint-plugin-babel": "^5.0.0", "eslint-plugin-import": "^2.23.4", "eslint-plugin-san": "0.0.1", "husky": "^4.0.0", "lint-staged": "^10.0.0", "qrcode-terminal": "^0.12.0", "stylelint": "^13.0.0" }
还需要什么信息随时跟我说,我贴出来..

[Error - 下午3:59:28] Error: Failed to load config "@ecomfe/eslint-config/san" to extend from. Referenced from: /Users/liuhongyan/Desktop/work/baidu-code/baidu/ps-aladdin/service-talos/.eslintrc.js at configInvalidError (/Users/liuhongyan/Desktop/work/baidu-code/baidu/ps-aladdin/service-talos/node_modules/@eslint/eslintrc/lib/config-array-factory.js:290:9) at ConfigArrayFactory._loadExtendedShareableConfig (/Users/liuhongyan/Desktop/work/baidu-code/baidu/ps-aladdin/service-talos/node_modules/@eslint/eslintrc/lib/config-array-factory.js:883:23) at ConfigArrayFactory._loadExtends (/Users/liuhongyan/Desktop/work/baidu-code/baidu/ps-aladdin/service-talos/node_modules/@eslint/eslintrc/lib/config-array-factory.js:781:25) at ConfigArrayFactory._normalizeObjectConfigDataBody (/Users/liuhongyan/Desktop/work/baidu-code/baidu/ps-aladdin/service-talos/node_modules/@eslint/eslintrc/lib/config-array-factory.js:720:25) at _normalizeObjectConfigDataBody.next (<anonymous>) at ConfigArrayFactory._normalizeObjectConfigData (/Users/liuhongyan/Desktop/work/baidu-code/baidu/ps-aladdin/service-talos/node_modules/@eslint/eslintrc/lib/config-array-factory.js:665:20) at _normalizeObjectConfigData.next (<anonymous>) at ConfigArrayFactory.loadInDirectory (/Users/liuhongyan/Desktop/work/baidu-code/baidu/ps-aladdin/service-talos/node_modules/@eslint/eslintrc/lib/config-array-factory.js:511:28) at CascadingConfigArrayFactory._loadConfigInAncestors (/Users/liuhongyan/Desktop/work/baidu-code/baidu/ps-aladdin/service-talos/node_modules/@eslint/eslintrc/lib/cascading-config-array-factory.js:379:46) at CascadingConfigArrayFactory._loadConfigInAncestors (/Users/liuhongyan/Desktop/work/baidu-code/baidu/ps-aladdin/service-talos/node_modules/@eslint/eslintrc/lib/cascading-config-array-factory.js:398:20)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant