Warning: file_get_contents(/data/phpspider/zhask/data//catemap/1/typo3/2.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Sublimetext3 ST3超级链接器,带有HTML';不服从args_Sublimetext3_Sublimelinter - Fatal编程技术网

Sublimetext3 ST3超级链接器,带有HTML';不服从args

Sublimetext3 ST3超级链接器,带有HTML';不服从args,sublimetext3,sublimelinter,Sublimetext3,Sublimelinter,我想抑制各种无用的linter错误报告,例如缺少“content”属性。因此,我尝试在SublimiteLiner中设置选项。Sublimite-settings: "linters": { "htmltidy": { "@disable": false, "args": [-xxx true], "excludes": [] } }, 等等,他们似乎什么也不做。我做错什么了

我想抑制各种无用的linter错误报告,例如缺少“content”属性。因此,我尝试在SublimiteLiner中设置选项。Sublimite-settings:

    "linters": {
        "htmltidy": {
            "@disable": false,
            "args": [-xxx true],
            "excludes": []
        }
    },

等等,他们似乎什么也不做。我做错什么了吗?

设置文件是一个JSON文件,看起来您的编辑不是有效的JSON。请尝试在参数周围加引号,或者:

"args": ["-xxx true"]

这对我很有用:

"linters": {
    "htmltidy": {
        "@disable": false,
        "args": [
            //http://tidy.sourceforge.net/docs/quickref.html
            "--drop-proprietary-attributes", "false"
        ],
        "excludes": []
    }...

它可能是有效的JSON,并且不会抛出错误,但实际上并没有应用drop专有属性,请尝试在sublimiteLiner.sublimite-settings中启用调试模式
"linters": {
    "htmltidy": {
        "@disable": false,
        "args": [
            //http://tidy.sourceforge.net/docs/quickref.html
            "--drop-proprietary-attributes", "false"
        ],
        "excludes": []
    }...