@lsby/eslint-plugin 0.0.29 → 0.0.30
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.
|
@@ -5,7 +5,7 @@ const rule = {
|
|
|
5
5
|
meta: {
|
|
6
6
|
type: 'problem',
|
|
7
7
|
docs: { description: '禁止在 JSDoc 注解中使用未定义的 {@link} 引用' },
|
|
8
|
-
messages: { undefinedLink: '{@link} 中的标识符 "{identifier}" 未定义' },
|
|
8
|
+
messages: { undefinedLink: '{@link} 中的标识符 "{{identifier}}" 未定义' },
|
|
9
9
|
schema: [],
|
|
10
10
|
},
|
|
11
11
|
create(context) {
|
|
@@ -30,7 +30,7 @@ const rule = {
|
|
|
30
30
|
type: 'suggestion',
|
|
31
31
|
docs: { description: '禁止使用 const 和 var, 仅允许使用 let 声明变量' },
|
|
32
32
|
fixable: 'code',
|
|
33
|
-
messages: { preferLet: '使用 let 代替 {kind}' },
|
|
33
|
+
messages: { preferLet: '使用 let 代替 {{kind}}' },
|
|
34
34
|
schema: [],
|
|
35
35
|
},
|
|
36
36
|
defaultOptions: [],
|