sublimeLinter 安装完后不起作用 配置如下

发布于 2022-09-01 18:09:14 字数 2535 浏览 11 评论 0

{

"user": {
    "csslint_options": {
        "adjoining-classes": false,
        "box-model": false,
        "box-sizing": false,
        "compatible-vendor-prefixes": false,
        "floats": false,
        "font-sizes": false,
        "gradients": false,
        "important": false,
        "known-properties": false,
        "outline-none": false,
        "qualified-headings": false,
        "regex-selectors": false,
        "shorthand": false,
        "text-indent": false,
        "unique-headings": false,
        "universal-selector": false,
        "unqualified-attributes": false
    },
    "debug": true,
    "delay": 0.25,
    "error_color": "D02000",
    "gutter_theme": "Packages/SublimeLinter/gutter-themes/Default/Default.gutter-theme",
    "gutter_theme_excludes": [],
    "jshint_options": {
        "browser": true,
        "curly": true,
        "devel": true,
        "eqeqeq": true,
        "evil": true,
        "forin": true,
        "globals": {
            "$": true,
            "console": true,
            "document": true,
            "global": true,
            "grunt": true,
            "jQuery": true,
            "module": true,
            "setInterval": true,
            "setTimeout": true,
            "window": true
        },
        "jquery": true,
        "latedef": true,
        "noarg": true,
        "noempty": true,
        "quotmark": "single",
        "strict": false,
        "undef": true,
        "unused": "vars",
        "wsh": true
    },
    "lint_mode": "background",
    "linters": {},
    "mark_style": "outline",
    "no_column_highlights_line": false,
    "passive_warnings": false,
    "paths": {
        "linux": [],
        "osx": [],
        "windows": ["C:/Users/Administrator/AppData/Roaming/npm"]
    },
    "python_paths": {
        "linux": [],
        "osx": [],
        "windows": []
    },
    "rc_search_limit": 3,
    "shell_timeout": 10,
    "show_errors_on_save": false,
    "show_marks_in_minimap": true,
    "sublimelinter": "save-only",
    "sublimelinter_executable_map": {
        "css": "C:/Program Files/nodejs/node.exe",
        "javascript": "C:/Program Files/nodejs/node.exe"
    },
    "sublimelinter_popup_errors_on_save": true,
    "syntax_map": {
        "html (django)": "html",
        "html (rails)": "html",
        "html 5": "html",
        "javascript (babel)": "javascript",
        "php": "html",
        "python django": "python"
    },
    "warning_color": "DDB700",
    "wrap_find": true
}

}

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

眼前雾蒙蒙 2022-09-08 18:09:14

安装完sublime-inter,你还需要需要安装你具体要审查的linter。例如,你要审查js代码,那你需要安装 sublimelinter-jshint,并安装 jshint 模块

npm install jshint -g
~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文