File tree Expand file tree Collapse file tree 9 files changed +2
-234
lines changed Expand file tree Collapse file tree 9 files changed +2
-234
lines changed Load Diff This file was deleted.
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 88 "dev" : " vue-cli-service serve" ,
99 "build:prod" : " vue-cli-service build" ,
1010 "build:stage" : " vue-cli-service build --mode staging" ,
11- "preview" : " node build/index.js --preview" ,
12- "lint" : " eslint --ext .js,.vue src"
13- },
14- "husky" : {
15- "hooks" : {
16- "pre-commit" : " lint-staged"
17- }
18- },
19- "lint-staged" : {
20- "src/**/*.{js,vue}" : [
21- " eslint --fix" ,
22- " git add"
23- ]
11+ "preview" : " node build/index.js --preview"
2412 },
2513 "keywords" : [
2614 " vue" ,
6654 },
6755 "devDependencies" : {
6856 "@vue/cli-plugin-babel" : " 4.4.6" ,
69- "@vue/cli-plugin-eslint" : " 4.4.6" ,
7057 "@vue/cli-service" : " 4.4.6" ,
71- "babel-eslint" : " 10.1.0" ,
7258 "babel-plugin-dynamic-import-node" : " 2.3.3" ,
7359 "babel-plugin-import" : " ^1.13.8" ,
7460 "chalk" : " 4.1.0" ,
7561 "compression-webpack-plugin" : " 6.1.2" ,
7662 "connect" : " 3.6.6" ,
77- "eslint" : " 7.15.0" ,
78- "eslint-plugin-vue" : " 7.2.0" ,
7963 "less" : " ^3.13.1" ,
8064 "less-loader" : " ^5.0.0" ,
81- "lint-staged" : " 10.5.3" ,
8265 "sass" : " 1.32.13" ,
8366 "sass-loader" : " 10.1.1" ,
8467 "script-ext-html-webpack-plugin" : " 2.1.5" ,
Original file line number Diff line number Diff line change 55 <slot />
66 </div >
77 </div >
8- <!-- eslint-disable-next-line -->
98 <div :style =" {backgroundImage: `url(${image})`}" class =" pan-thumb" ></div >
109 </div >
1110</template >
Original file line number Diff line number Diff line change @@ -17,7 +17,7 @@ const install = function(Vue) {
1717if ( window . Vue ) {
1818 window [ 'hasRole' ] = hasRole
1919 window [ 'hasPermi' ] = hasPermi
20- Vue . use ( install ) ; // eslint-disable-line
20+ Vue . use ( install ) ;
2121}
2222
2323export default install
Original file line number Diff line number Diff line change 1- /* eslint-disable max-len */
21import { trigger } from './config'
32
43let confGlobal
Original file line number Diff line number Diff line change @@ -115,7 +115,6 @@ export default {
115115 },
116116 computed: {},
117117 watch: {
118- // eslint-disable-next-line func-names
119118 ' formData.value ' : function (val ) {
120119 this .dataType = isNumberStr (val) ? ' number' : ' string'
121120 }
Original file line number Diff line number Diff line change @@ -190,7 +190,6 @@ export default {
190190 }
191191 },
192192 watch: {
193- // eslint-disable-next-line func-names
194193 ' activeData.label ' : function (val , oldVal ) {
195194 if (
196195 this .activeData .placeholder === undefined
Original file line number Diff line number Diff line change @@ -23,8 +23,6 @@ module.exports = {
2323 outputDir : 'dist' ,
2424 // 用于放置生成的静态资源 (js、css、img、fonts) 的;(项目打包之后,静态资源会放在这个文件夹下)
2525 assetsDir : 'static' ,
26- // 是否开启eslint保存检测,有效值:ture | false | 'error'
27- lintOnSave : process . env . NODE_ENV === 'development' ,
2826 // 如果你不需要生产环境的 source map,可以将其设置为 false 以加速生产环境构建。
2927 productionSourceMap : false ,
3028 transpileDependencies : [ 'quill' ] ,
You can’t perform that action at this time.
0 commit comments