Sublimetext3 升华文本-升华链接器-配置规则
我想配置全局linting规则(),这样我的所有javascript文件都将使用这些规则进行linting。我已经配置了ESLINT并正在工作(在我的GULP文件中): 我想知道如何配置SublimeLiner以使用上述设置 升华仪。升华设置Sublimetext3 升华文本-升华链接器-配置规则,sublimetext3,sublimetext,eslint,sublimelinter,Sublimetext3,Sublimetext,Eslint,Sublimelinter,我想配置全局linting规则(),这样我的所有javascript文件都将使用这些规则进行linting。我已经配置了ESLINT并正在工作(在我的GULP文件中): 我想知道如何配置SublimeLiner以使用上述设置 升华仪。升华设置 谢谢 你有解决这个问题的办法吗?@Chris-没有……没有:(你用的是什么?@Chris-嗯,我在编译javascript文件,它在我的gulp上运行,所以rollupjs有很多插件,其中一个是..我想它也在sublime上运行,但..这似乎很难实现 &q
谢谢 你有解决这个问题的办法吗?@Chris-没有……没有:(你用的是什么?@Chris-嗯,我在编译javascript文件,它在我的
gulp
上运行,所以rollupjs
有很多插件,其中一个是..我想它也在sublime上运行,但..这似乎很难实现
"rules": {
"no-mixed-spaces-and-tabs" : [2, "smart-tabs"],
"block-spacing" : [2, "always"],
"comma-style" : [2, "last"],
"no-debugger" : [2],
"no-alert" : [2],
"indent" : [1, 4],
"strict" : 0,
"no-undef" : 1
},
"ecmaFeatures" : {
"modules": true,
"sourceType": "module"
},
"parserOptions": {
"ecmaVersion" : 6,
"sourceType": "module",
"ecmaFeatures": {
"jsx": false,
"experimentalObjectRestSpread": true
}
},
"envs": [
"browser", "es6"
]
{
"user": {
"debug" : false,
"delay" : 0.25,
"error_color" : "D02000",
"gutter_theme" : "Packages/SublimeLinter/gutter-themes/Default/Default-theme",
"gutter_theme_excludes" : [],
"lint_mode" : "background",
"linters" : {
"eslint": {
"@disable" : false,
"args" : [],
"excludes" : []
}
},
"mark_style" : "solid underline",
"no_column_highlights_line" : false,
"passive_warnings" : false,
"paths" : {
"linux" : [],
"osx" : [],
"windows" : []
},
"python_paths": {
"linux" : [],
"osx" : [],
"windows" : []
},
"rc_search_limit" : 3,
"shell_timeout" : 10,
"show_errors_on_save" : false,
"show_marks_in_minimap" : true,
"syntax_map" : {
"html (django)" : "html",
"html (rails)" : "html",
"html 5" : "html",
"php" : "html",
"python django" : "python"
},
"warning_color" : "DDB700",
"wrap_find" : true
}
}