File tree Expand file tree Collapse file tree 2 files changed +21
-2
lines changed Expand file tree Collapse file tree 2 files changed +21
-2
lines changed Original file line number Diff line number Diff line change 11module . exports = {
22 extends : [
33 require . resolve ( 'eslint-config-standard' )
4- ]
4+ ] ,
5+ settings : {
6+ 'import/resolver' : {
7+ // https://github.com/benmosher/eslint-plugin-import/issues/1396
8+ [ require . resolve ( 'eslint-import-resolver-node' ) ] : { } ,
9+ [ require . resolve ( 'eslint-import-resolver-webpack' ) ] : {
10+ config : require . resolve ( '@vue/cli-service/webpack.config.js' ) ,
11+ } ,
12+ } ,
13+ 'import/extensions' : [
14+ '.js' ,
15+ '.jsx' ,
16+ '.mjs' ,
17+ '.ts' ,
18+ '.tsx' ,
19+ ] ,
20+ } ,
521}
Original file line number Diff line number Diff line change 2121 },
2222 "homepage" : " https://github.com/vuejs/eslint-config-standard#readme" ,
2323 "dependencies" : {
24- "eslint-config-standard" : " ^14.1.0"
24+ "eslint-config-standard" : " ^14.1.0" ,
25+ "eslint-import-resolver-node" : " ^0.3.3" ,
26+ "eslint-import-resolver-webpack" : " ^0.12.1"
2527 },
2628 "peerDependencies" : {
29+ "@vue/cli-service" : " ^3.0.0 || ^4.0.0-0" ,
2730 "eslint" : " >=6.2.2" ,
2831 "eslint-plugin-import" : " >= 2.18.0" ,
2932 "eslint-plugin-node" : " >= 9.1.0" ,
You can’t perform that action at this time.
0 commit comments