File tree Expand file tree Collapse file tree 3 files changed +20
-18
lines changed Expand file tree Collapse file tree 3 files changed +20
-18
lines changed Original file line number Diff line number Diff line change 1
1
module . exports = {
2
- parser : 'babel-eslint' ,
2
+ // parser: 'babel-eslint',
3
3
env : {
4
4
browser : true ,
5
5
commonjs : true ,
6
6
es6 : true
7
7
} ,
8
- extends : 'airbnb-base' ,
9
- plugins : [
10
- 'html'
11
- ] ,
8
+ // extends: ['airbnb-base'],
9
+ extends : [ 'plugin:vue/recommended' , 'airbnb-base' ] ,
10
+ // plugins: [
11
+ // 'vue'
12
+ // ],
12
13
rules : {
13
14
quotes : [ 2 , 'single' ] ,
14
15
semi : 2 ,
Original file line number Diff line number Diff line change 27
27
"clean-webpack-plugin" : " ^0.1.16" ,
28
28
"css-loader" : " ^0.28.5" ,
29
29
"element-ui" : " ^1.4.3" ,
30
- "eslint" : " ^4.5 .0" ,
30
+ "eslint" : " ^3.19 .0" ,
31
31
"eslint-config-airbnb-base" : " ^11.3.2" ,
32
32
"eslint-plugin-html" : " ^3.2.0" ,
33
33
"eslint-plugin-import" : " ^2.7.0" ,
34
+ "eslint-plugin-vue" : " ^3.12.0" ,
34
35
"extract-text-webpack-plugin" : " ^3.0.0" ,
35
36
"file-loader" : " ^0.11.2" ,
36
37
"html-webpack-plugin" : " ^2.30.1" ,
Original file line number Diff line number Diff line change 14
14
</template >
15
15
16
16
<script >
17
- export default {
18
- name: ' layout' ,
19
- data () {
20
- return {
21
- activeIndex: ' 1' ,
22
- activeIndex2: ' 1'
23
- };
24
- },
25
- methods: {
26
- handleSelect (key , keyPath ) {
27
- console .log (key, keyPath);
28
- }
17
+ export default {
18
+ name: ' layout' ,
19
+ data () {
20
+ return {
21
+ activeIndex: ' 1' ,
22
+ activeIndex2: ' 1'
23
+ };
24
+ },
25
+ methods: {
26
+ handleSelect (key , keyPath ) {
27
+ console .log (key, keyPath);
29
28
}
30
29
}
30
+ };
31
31
</script >
You can’t perform that action at this time.
0 commit comments