Skip to content

Commit

Permalink
fix eslint
Browse files Browse the repository at this point in the history
  • Loading branch information
BoBoooooo committed Feb 21, 2019
1 parent 0bc16aa commit 21b8bae
Show file tree
Hide file tree
Showing 15 changed files with 496 additions and 423 deletions.
5 changes: 5 additions & 0 deletions .eslintrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,11 @@ module.exports = {
'plugin:vue/essential',
'@vue/airbnb',
],
plugins: [
'html',
'vue'
],

rules: {
"semi": "off", //去掉分号检查
'linebreak-style':'off',
Expand Down
7 changes: 5 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -42,8 +42,11 @@
"babel-eslint": "^10.0.1",
"chai": "^4.1.2",
"vuetify-loader": "1.2.1",
"eslint": "^5.8.0",
"eslint-plugin-vue": "^5.0.0-0",
"eslint": "5.14.1",
"eslint-plugin-vue": "5.2.2",
"eslint-friendly-formatter": "^4.0.1",
"eslint-loader": "2.1.2",
"eslint-plugin-html": "5.0.3",
"lint-staged": "^7.2.2",
"node-sass": "^4.9.2",
"sass-loader": "^7.0.3",
Expand Down
1 change: 0 additions & 1 deletion src/views/404.vue
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
/* eslint-disable camelcase */
<template>
<div class="wscn-http404-container" />
</template>
Expand Down
2 changes: 1 addition & 1 deletion src/views/DouBan/book.vue
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@

<el-table-column
label="作者"
align="center">
align="center">
<template slot-scope="scope">
<el-tag
type="danger"
Expand Down
13 changes: 8 additions & 5 deletions src/views/SIX/Notice.vue
Original file line number Diff line number Diff line change
@@ -1,11 +1,14 @@
<template>
<div>
<crud-table tableName="six_notice" toolbarButton="add,clear,search" handleButton="edit,delete"></crud-table>
</div>
<div>
<crud-table
tableName="six_notice"
toolbarButton="add,clear,search"
handleButton="edit,delete"
></crud-table>
</div>
</template>
<script>
export default {
name: 'Notice',
}
};
</script>
13 changes: 8 additions & 5 deletions src/views/SIX/RewardOrPunish.vue
Original file line number Diff line number Diff line change
@@ -1,11 +1,14 @@
<template>
<div>
<crud-table tableName="six_rewardorpunish" toolbarButton="add,clear,search" handleButton="edit,delete"></crud-table>
</div>
<div>
<crud-table
tableName="six_rewardorpunish"
toolbarButton="add,clear,search"
handleButton="edit,delete"
></crud-table>
</div>
</template>
<script>
export default {
name: 'RewardOrPunish',
}
};
</script>
13 changes: 8 additions & 5 deletions src/views/SIX/Salary.vue
Original file line number Diff line number Diff line change
@@ -1,11 +1,14 @@
<template>
<div>
<crud-table tableName="six_salary" toolbarButton="add,clear,search" handleButton="edit,delete"></crud-table>
</div>
<div>
<crud-table
tableName="six_salary"
toolbarButton="add,clear,search"
handleButton="edit,delete"
></crud-table>
</div>
</template>
<script>
export default {
name: 'Salary',
}
};
</script>
13 changes: 8 additions & 5 deletions src/views/SIX/Staff.vue
Original file line number Diff line number Diff line change
@@ -1,11 +1,14 @@
<template>
<div>
<crud-table tableName="six_staff" toolbarButton="add,clear,search" handleButton="edit,delete"></crud-table>
</div>
<div>
<crud-table
tableName="six_staff"
toolbarButton="add,clear,search"
handleButton="edit,delete"
></crud-table>
</div>
</template>
<script>
export default {
name: 'Staff',
}
};
</script>
2 changes: 1 addition & 1 deletion src/views/dashboard/index.vue
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
<v-toolbar color="purple" dark>
<v-toolbar-side-icon></v-toolbar-side-icon>
<v-toolbar-title>系统公告</v-toolbar-title>
<v-spacer></v-spacer>
<v-spacer></v-spacer>
<!-- <v-btn icon>
<v-icon>calendar</v-icon>
</v-btn>
Expand Down
Loading

0 comments on commit 21b8bae

Please sign in to comment.