Skip to content

Commit 4ed5b81

Browse files
author
GongJS
committed
Merge branch 'master' of github.com:TaleLin/lin-cms-vue into develop
2 parents ce40d80 + 25c4082 commit 4ed5b81

148 files changed

Lines changed: 8492 additions & 9390 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.eslintignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,3 +4,4 @@
44
/script/.cache
55
/*.js
66
/node_modules/
7+
/tests/unit/LIcon.test.js

.eslintrc.js

Lines changed: 12 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -3,13 +3,8 @@ module.exports = {
33
env: {
44
node: true,
55
},
6-
plugins: [
7-
'vue',
8-
],
9-
extends: [
10-
'plugin:vue/essential',
11-
'@vue/airbnb',
12-
],
6+
plugins: ['vue'],
7+
extends: ['plugin:vue/essential', '@vue/airbnb'],
138
rules: {
149
'no-console': process.env.NODE_ENV === 'production' ? 'error' : 'off',
1510
'no-debugger': process.env.NODE_ENV === 'production' ? 'error' : 'off',
@@ -19,6 +14,7 @@ module.exports = {
1914
'no-underscore-dangle': 0, // 无下划线
2015
camelcase: 0, // 变量可以用下划线
2116
semi: ['error', 'never'], // 无分号
17+
'no-extra-semi': 0, // 和prettier冲突
2218
'no-plusplus': 0, // 禁止使用++,--
2319
// 'no-tabs': [o],
2420
'guard-for-in': 0,
@@ -28,6 +24,15 @@ module.exports = {
2824
'no-restricted-syntax': 0,
2925
'class-methods-use-this': 'off',
3026
'consistent-return': 'off',
27+
'arrow-parens': ['error', 'as-needed'],
28+
'object-curly-newline': [
29+
'error',
30+
{
31+
ImportDeclaration: 'never',
32+
},
33+
],
34+
'comma-dangle': ['error', 'only-multiline'],
35+
'no-param-reassign': ['error', { props: false }],
3136
},
3237
parserOptions: {
3338
parser: 'babel-eslint',

.prettierrc.js

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
module.exports = {
2+
singleQuote: true, //字符串是否使用单引号,默认为false,使用双引号
3+
semi: false, //行位是否使用分号,默认为true
4+
trailingComma: 'all', //是否使用尾逗号,有三个可选值"<none|es5|all>"
5+
printWidth: 120,
6+
arrowParens: 'avoid',
7+
}

README.md

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,10 @@ Lin-CMS 是一套前后端完整的解决方案,后端部署请移步:
2929

3030
[lin-cms-koa](https://github.com/TaleLin/lin-cms-koa)
3131

32+
### 注意
33+
34+
**Lin-CMS 是工程类开源项目,不能保证无缝升级**
35+
3236
### 文档地址
3337

3438
[http://doc.cms.7yue.pro/](http://doc.cms.7yue.pro/)
@@ -93,7 +97,12 @@ QQ群搜索:林间有风 或 643205479
9397

9498
## 版本日志
9599

96-
最新版本 `0.2.1`
100+
最新版本 `0.2.2`
101+
102+
### 0.2.2
103+
104+
1. `F` 修复 tinymce 富文本动态绑定问题
105+
2. `U` 保持代码风格一致优化
97106

98107
### 0.2.1
99108

0 commit comments

Comments
 (0)