File tree Expand file tree Collapse file tree 2 files changed +0
-10
lines changed Expand file tree Collapse file tree 2 files changed +0
-10
lines changed Original file line number Diff line number Diff line change @@ -102,14 +102,9 @@ var Project = function () {
102
102
103
103
if ( requireg . resolve ( localSearchPath ) ) {
104
104
modulePath = localSearchPath ;
105
- } else if ( requireg . resolve ( moduleName ) ) {
106
- modulePath = requireg . resolve ( moduleName ) ;
107
105
} else if ( requireg . resolve ( localSearchPathQnpm ) ) {
108
106
modulePath = localSearchPathQnpm ;
109
107
moduleName = '@qnpm/' + moduleName ;
110
- } else if ( requireg . resolve ( '@qnpm/' + moduleName ) ) {
111
- modulePath = requireg . resolve ( '@qnpm/' + moduleName ) ;
112
- moduleName = '@qnpm/' + moduleName ;
113
108
}
114
109
115
110
extend ( true , userConfig . eslintConfig , Manager . loadEslintConfig ( modulePath ) ) ;
Original file line number Diff line number Diff line change @@ -86,14 +86,9 @@ class Project {
86
86
87
87
if ( requireg . resolve ( localSearchPath ) ) {
88
88
modulePath = localSearchPath ;
89
- } else if ( requireg . resolve ( moduleName ) ) {
90
- modulePath = requireg . resolve ( moduleName ) ;
91
89
} else if ( requireg . resolve ( localSearchPathQnpm ) ) {
92
90
modulePath = localSearchPathQnpm ;
93
91
moduleName = '@qnpm/' + moduleName ;
94
- } else if ( requireg . resolve ( '@qnpm/' + moduleName ) ) {
95
- modulePath = requireg . resolve ( '@qnpm/' + moduleName ) ;
96
- moduleName = '@qnpm/' + moduleName ;
97
92
}
98
93
99
94
extend ( true , userConfig . eslintConfig , Manager . loadEslintConfig ( modulePath ) ) ;
You can’t perform that action at this time.
0 commit comments