Interpolation will only work for template strings. Open
E06: template('模块“${m.name}”引用了不存在的 extensionPoint “${ep}”')
- Read upRead up
- Exclude checks
Rule: no-invalid-template-strings
Warns on use of ${
in non-template strings.
Rationale
Interpolation will only work for template strings.
Config
Not configurable.
Examples
"no-invalid-template-strings": true
For more information see this page.
Missing semicolon Open
const t = LogInfo.CODES[this.code]
- Read upRead up
- Exclude checks
Rule: semicolon
Enforces consistent semicolon usage at the end of every statement.
Notes
- Has Fix
Config
One of the following arguments must be provided:
-
"always"
enforces semicolons at the end of every statement. -
"never"
disallows semicolons at the end of every statement except for when they are necessary.
The following arguments may be optionally provided:
-
"ignore-interfaces"
skips checking semicolons at the end of interface members. -
"ignore-bound-class-methods"
skips checking semicolons at the end of bound class methods. -
"strict-bound-class-methods"
disables any special handling of bound class methods and treats them as any other assignment. This option overrides"ignore-bound-class-methods"
.
Examples
"semicolon": true,always
"semicolon": true,never
"semicolon": true,always,ignore-interfaces
"semicolon": true,always,ignore-bound-class-methods
Schema
{
"type": "array",
"items": [
{
"type": "string",
"enum": [
"always",
"never"
]
},
{
"type": "string",
"enum": [
"ignore-interfaces"
]
}
],
"additionalItems": false
}
For more information see this page.
Interpolation will only work for template strings. Open
E02: template('模块名称重复 ${JSON.stringify(m1)}, ${JSON.stringify(m2)}'),
- Read upRead up
- Exclude checks
Rule: no-invalid-template-strings
Warns on use of ${
in non-template strings.
Rationale
Interpolation will only work for template strings.
Config
Not configurable.
Examples
"no-invalid-template-strings": true
For more information see this page.
Interpolation will only work for template strings. Open
E02: template('模块名称重复 ${JSON.stringify(m1)}, ${JSON.stringify(m2)}'),
- Read upRead up
- Exclude checks
Rule: no-invalid-template-strings
Warns on use of ${
in non-template strings.
Rationale
Interpolation will only work for template strings.
Config
Not configurable.
Examples
"no-invalid-template-strings": true
For more information see this page.
Missing semicolon Open
import { template, TemplateExecutor } from 'lodash'
- Read upRead up
- Exclude checks
Rule: semicolon
Enforces consistent semicolon usage at the end of every statement.
Notes
- Has Fix
Config
One of the following arguments must be provided:
-
"always"
enforces semicolons at the end of every statement. -
"never"
disallows semicolons at the end of every statement except for when they are necessary.
The following arguments may be optionally provided:
-
"ignore-interfaces"
skips checking semicolons at the end of interface members. -
"ignore-bound-class-methods"
skips checking semicolons at the end of bound class methods. -
"strict-bound-class-methods"
disables any special handling of bound class methods and treats them as any other assignment. This option overrides"ignore-bound-class-methods"
.
Examples
"semicolon": true,always
"semicolon": true,never
"semicolon": true,always,ignore-interfaces
"semicolon": true,always,ignore-bound-class-methods
Schema
{
"type": "array",
"items": [
{
"type": "string",
"enum": [
"always",
"never"
]
},
{
"type": "string",
"enum": [
"ignore-interfaces"
]
}
],
"additionalItems": false
}
For more information see this page.
Missing semicolon Open
}
- Read upRead up
- Exclude checks
Rule: semicolon
Enforces consistent semicolon usage at the end of every statement.
Notes
- Has Fix
Config
One of the following arguments must be provided:
-
"always"
enforces semicolons at the end of every statement. -
"never"
disallows semicolons at the end of every statement except for when they are necessary.
The following arguments may be optionally provided:
-
"ignore-interfaces"
skips checking semicolons at the end of interface members. -
"ignore-bound-class-methods"
skips checking semicolons at the end of bound class methods. -
"strict-bound-class-methods"
disables any special handling of bound class methods and treats them as any other assignment. This option overrides"ignore-bound-class-methods"
.
Examples
"semicolon": true,always
"semicolon": true,never
"semicolon": true,always,ignore-interfaces
"semicolon": true,always,ignore-bound-class-methods
Schema
{
"type": "array",
"items": [
{
"type": "string",
"enum": [
"always",
"never"
]
},
{
"type": "string",
"enum": [
"ignore-interfaces"
]
}
],
"additionalItems": false
}
For more information see this page.
Interpolation will only work for template strings. Open
E01: template('模块名称未定义 ${JSON.stringify(m)}'),
- Read upRead up
- Exclude checks
Rule: no-invalid-template-strings
Warns on use of ${
in non-template strings.
Rationale
Interpolation will only work for template strings.
Config
Not configurable.
Examples
"no-invalid-template-strings": true
For more information see this page.
Interpolation will only work for template strings. Open
E06: template('模块“${m.name}”引用了不存在的 extensionPoint “${ep}”')
- Read upRead up
- Exclude checks
Rule: no-invalid-template-strings
Warns on use of ${
in non-template strings.
Rationale
Interpolation will only work for template strings.
Config
Not configurable.
Examples
"no-invalid-template-strings": true
For more information see this page.
Missing semicolon Open
return '未知异常'
- Read upRead up
- Exclude checks
Rule: semicolon
Enforces consistent semicolon usage at the end of every statement.
Notes
- Has Fix
Config
One of the following arguments must be provided:
-
"always"
enforces semicolons at the end of every statement. -
"never"
disallows semicolons at the end of every statement except for when they are necessary.
The following arguments may be optionally provided:
-
"ignore-interfaces"
skips checking semicolons at the end of interface members. -
"ignore-bound-class-methods"
skips checking semicolons at the end of bound class methods. -
"strict-bound-class-methods"
disables any special handling of bound class methods and treats them as any other assignment. This option overrides"ignore-bound-class-methods"
.
Examples
"semicolon": true,always
"semicolon": true,never
"semicolon": true,always,ignore-interfaces
"semicolon": true,always,ignore-bound-class-methods
Schema
{
"type": "array",
"items": [
{
"type": "string",
"enum": [
"always",
"never"
]
},
{
"type": "string",
"enum": [
"ignore-interfaces"
]
}
],
"additionalItems": false
}
For more information see this page.
Missing semicolon Open
return t(this.data)
- Read upRead up
- Exclude checks
Rule: semicolon
Enforces consistent semicolon usage at the end of every statement.
Notes
- Has Fix
Config
One of the following arguments must be provided:
-
"always"
enforces semicolons at the end of every statement. -
"never"
disallows semicolons at the end of every statement except for when they are necessary.
The following arguments may be optionally provided:
-
"ignore-interfaces"
skips checking semicolons at the end of interface members. -
"ignore-bound-class-methods"
skips checking semicolons at the end of bound class methods. -
"strict-bound-class-methods"
disables any special handling of bound class methods and treats them as any other assignment. This option overrides"ignore-bound-class-methods"
.
Examples
"semicolon": true,always
"semicolon": true,never
"semicolon": true,always,ignore-interfaces
"semicolon": true,always,ignore-bound-class-methods
Schema
{
"type": "array",
"items": [
{
"type": "string",
"enum": [
"always",
"never"
]
},
{
"type": "string",
"enum": [
"ignore-interfaces"
]
}
],
"additionalItems": false
}
For more information see this page.
Missing semicolon Open
return `[${this.code}] ${this.getMessage()}`
- Read upRead up
- Exclude checks
Rule: semicolon
Enforces consistent semicolon usage at the end of every statement.
Notes
- Has Fix
Config
One of the following arguments must be provided:
-
"always"
enforces semicolons at the end of every statement. -
"never"
disallows semicolons at the end of every statement except for when they are necessary.
The following arguments may be optionally provided:
-
"ignore-interfaces"
skips checking semicolons at the end of interface members. -
"ignore-bound-class-methods"
skips checking semicolons at the end of bound class methods. -
"strict-bound-class-methods"
disables any special handling of bound class methods and treats them as any other assignment. This option overrides"ignore-bound-class-methods"
.
Examples
"semicolon": true,always
"semicolon": true,never
"semicolon": true,always,ignore-interfaces
"semicolon": true,always,ignore-bound-class-methods
Schema
{
"type": "array",
"items": [
{
"type": "string",
"enum": [
"always",
"never"
]
},
{
"type": "string",
"enum": [
"ignore-interfaces"
]
}
],
"additionalItems": false
}
For more information see this page.
Interpolation will only work for template strings. Open
E03: template('“${m1.name}”依赖的模块“${m2}”解析失败'),
- Read upRead up
- Exclude checks
Rule: no-invalid-template-strings
Warns on use of ${
in non-template strings.
Rationale
Interpolation will only work for template strings.
Config
Not configurable.
Examples
"no-invalid-template-strings": true
For more information see this page.
Interpolation will only work for template strings. Open
E05: template('模块“${m.name}”声明了重复的 extensionPoint “${ep}”'),
- Read upRead up
- Exclude checks
Rule: no-invalid-template-strings
Warns on use of ${
in non-template strings.
Rationale
Interpolation will only work for template strings.
Config
Not configurable.
Examples
"no-invalid-template-strings": true
For more information see this page.
Interpolation will only work for template strings. Open
E03: template('“${m1.name}”依赖的模块“${m2}”解析失败'),
- Read upRead up
- Exclude checks
Rule: no-invalid-template-strings
Warns on use of ${
in non-template strings.
Rationale
Interpolation will only work for template strings.
Config
Not configurable.
Examples
"no-invalid-template-strings": true
For more information see this page.
Interpolation will only work for template strings. Open
E04: template('“${m1.name}”依赖的模块“${m2}”不存在'),
- Read upRead up
- Exclude checks
Rule: no-invalid-template-strings
Warns on use of ${
in non-template strings.
Rationale
Interpolation will only work for template strings.
Config
Not configurable.
Examples
"no-invalid-template-strings": true
For more information see this page.
Interpolation will only work for template strings. Open
E04: template('“${m1.name}”依赖的模块“${m2}”不存在'),
- Read upRead up
- Exclude checks
Rule: no-invalid-template-strings
Warns on use of ${
in non-template strings.
Rationale
Interpolation will only work for template strings.
Config
Not configurable.
Examples
"no-invalid-template-strings": true
For more information see this page.
Interpolation will only work for template strings. Open
E05: template('模块“${m.name}”声明了重复的 extensionPoint “${ep}”'),
- Read upRead up
- Exclude checks
Rule: no-invalid-template-strings
Warns on use of ${
in non-template strings.
Rationale
Interpolation will only work for template strings.
Config
Not configurable.
Examples
"no-invalid-template-strings": true
For more information see this page.