mirror of
				https://gitee.com/vant-contrib/vant.git
				synced 2025-10-27 01:32:10 +08:00 
			
		
		
		
	fix eslintrc
This commit is contained in:
		
							parent
							
								
									b8a16cabc2
								
							
						
					
					
						commit
						2bd368086b
					
				| @ -10,7 +10,8 @@ module.exports = { | ||||
| 
 | ||||
|   env: { | ||||
|     es6: true, | ||||
|     node: true | ||||
|     node: true, | ||||
|     mocha: true | ||||
|   }, | ||||
| 
 | ||||
|   plugins: ['vue'], | ||||
| @ -24,10 +25,6 @@ module.exports = { | ||||
|     window: false | ||||
|   }, | ||||
| 
 | ||||
|   env: { | ||||
|     mocha: true | ||||
|   }, | ||||
| 
 | ||||
|   rules: { | ||||
|     'accessor-pairs': 2, | ||||
|     'arrow-spacing': [2, { 'before': true, 'after': true }], | ||||
|  | ||||
| @ -4,7 +4,7 @@ const to2 = require('2webpack2'); | ||||
| const ProgressBarPlugin = require('progress-bar-webpack-plugin'); | ||||
| const getPostcssPlugin = require('../../build/utils/postcss_pipe'); | ||||
| 
 | ||||
| let webpackConfig = { | ||||
| const webpackConfig = { | ||||
|   output: { | ||||
|     path: path.resolve(process.cwd(), 'dist'), | ||||
|     publicPath: '/dist/', | ||||
| @ -129,4 +129,4 @@ let webpackConfig = { | ||||
|   } | ||||
| }; | ||||
| 
 | ||||
| module.exports = to2(webpackConfig, {quiet: true, context: true}); | ||||
| module.exports = to2(webpackConfig, { quiet: true, context: true }); | ||||
|  | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user