严格ESlint规则

This commit is contained in:
yi-ge 2017-01-25 00:34:12 +08:00
parent cb2105a07d
commit 40bddcfcdd
2 changed files with 16 additions and 17 deletions

View File

@ -1,3 +1,2 @@
build/*.js build/*.js
src/config.js
assets/*.js assets/*.js

View File

@ -5,7 +5,7 @@ export let SystemConfig = {
HTTP_server_host: 'localhost', // HTTP服务器地址,请勿添加"http://" HTTP_server_host: 'localhost', // HTTP服务器地址,请勿添加"http://"
HTTP_server_port: '3000', // HTTP服务器端口号 HTTP_server_port: '3000', // HTTP服务器端口号
System_country: 'zh-cn', // 所在国家的国家代码 System_country: 'zh-cn', // 所在国家的国家代码
System_plugin_path: path.join(__dirname, "../src/plugins"), // 插件路径 System_plugin_path: path.join(__dirname, '../src/plugins'), // 插件路径
Session_Key: 'RESTfulAPI', // 生产环境务必随机设置一个值 Session_Key: 'RESTfulAPI', // 生产环境务必随机设置一个值
mysql_host: 'localhost', // MySQL服务器地址 mysql_host: 'localhost', // MySQL服务器地址
mysql_user: 'root', // 数据库用户名 mysql_user: 'root', // 数据库用户名