ko-lint-config 2.2.16 → 2.2.18
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.eslintrc.js +1 -1
- package/CHANGELOG.md +12 -0
- package/README_CN.md +1 -1
- package/package.json +1 -1
package/.eslintrc.js
CHANGED
|
@@ -113,7 +113,7 @@ module.exports = {
|
|
|
113
113
|
// 函数括号前的空格
|
|
114
114
|
2,
|
|
115
115
|
{
|
|
116
|
-
anonymous: 'always', // 匿名函数表达式,例如 function () {}
|
|
116
|
+
anonymous: 'always', // 匿名函数表达式,例如 function () {} 需要 prettier@2.7.1
|
|
117
117
|
named: 'never', // 命名函数表达式,例如 function foo () {}
|
|
118
118
|
asyncArrow: 'always', // 异步箭头函数表达式,例如 async () => {}
|
|
119
119
|
},
|
package/CHANGELOG.md
CHANGED
package/README_CN.md
CHANGED