Tables | Are |
---|---|
Missing semicolon | 缺少分号 |
Use the function form of \”use strict\ | 使用标准化定义function |
Unexpected space after ‘-’ | 后面不应出现空格 |
Expected a JSON value | 请传入一个json的值 |
Mixed spaces and tabs | 空格和TAB重复 |
Unsafe character | 不安全的字符 |
Line too long | 本行中的字符超过设定的最大长度 |
Trailing whitespace | 本行末尾有过多无用空格 |
Script URL | 脚本URL |
Unexpected {a} in ‘{b}’ | 在 ‘{b}’ 中不该出现 {a} |
Unexpected ‘{a}’ | 不该在此出现’{a}’ |
Strings must use doublequote | 字符串需要用双引号 |
Unnecessary escapement | 不需要转义 |
Control character in string: {a} | 在字符串中出现了Control的字符 |
Avoid \’ | 避免 \ |
Avoid \v | 避免 \v |
Avoid \x- | 避免 \x- |
Bad escapement | 错误的转义字符 |
Bad number ‘{a}’ | 错误的数字 ‘{a}’ |
Missing space after ‘{a}’ | 在’{a}’之后缺少空格 |
Don’t use extra leading zeros ‘{a}’ | 不要再’{a}’的前面用多余的0″, |
Avoid 0x-. ‘{a}’ | 避免使用 0x-. ‘{a}’ |
A trailing decimal point can be confused with a dot ‘{a}’ | 在’{a}’中使用点尾随小数点 |
Unexpected comment | 不该在此处出现注释 |
Unescaped ‘{a}’ | 没有转义 ‘{a}’ |
Unexpected control character in regular expression | 在正则表达式中出现了control字符 |
Unexpected escap |
JSLint中常见报错提示
最新推荐文章于 2023-09-24 22:12:04 发布