Skip to content

Commit ad4fae0

Browse files
author
Albert Tu
committed
Merge branch 'disable-rule-no-unresolved' into 'master'
Disable rule `import/no-unresolved` vuejs-templates/webpack#144 See merge request !1
2 parents a9cb59c + 8b0df5c commit ad4fae0

File tree

3 files changed

+3
-2
lines changed

3 files changed

+3
-2
lines changed

.eslintrc.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ module.exports = {
77
],
88
// add your custom rules here
99
'rules': {
10+
'import/no-unresolved': 0,
1011
// allow debugger during development
1112
'no-debugger': process.env.NODE_ENV === 'production' ? 2 : 0
1213
}

src/App.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
</template>
2424

2525
<script>
26-
import Hello from './components/Hello.vue';
26+
import Hello from './components/Hello';
2727
2828
export default {
2929
components: {

src/main.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import Vue from 'vue';
2-
import App from './App.vue';
2+
import App from './App';
33

44
/* eslint-disable no-new */
55
new Vue({

0 commit comments

Comments
 (0)