我似乎無法讓SublimeLinter-scss-contrib-lint在Sublime Text 3中工作。我有.scss-lint.yml文件在我的根,並且它似乎運行命令行(雖然是否關閉我的文件或默認設置我不確定)。我已經通過軟件包管理器安裝了這個軟件包,它位於我的SublimeLinter.sublime.settings文件中,但是當我故意犯錯時,它們從未被拾取。Sublime Text 3 SCSS-Contrib-Lint沒有使用.scss-lint.yml
// Snippet of .scss-lint.yml
scss_files: "/app/www/scss/*.scss"
linters:
BangFormat:
enabled: true
space_before_bang: true
space_after_bang: false
BorderZero:
enabled: true
ColorKeyword:
enabled: true
Comment:
enabled: true
// Sublime Linters
"linters": {
"annotations": {
... // removed linter settings for readability, but to show which ones I'm using
},
"csslint": {
...
},
"jshint": {
...
},
"json": {
...
},
"php": {
...
},
"scss": {
"@disable": false,
"args": [],
"exclude-linter": "",
"excludes": [],
"include-linter": ""
}
},
這裏有一堆不同的stackoverflow問題,但沒有一個似乎適合我的問題。如果有幫助,我正在使用Windows,並且所有的寶石都已安裝並正在運行。
我剛安裝的寶石和卓越的插件,並我升級到最新的工作後開箱SublimeLint(即使不創建'.scss-lint.yml')。您可以將SublimeLinter調試模式設置爲true,並查看Sublime控制檯以查看是否顯示錯誤。 – 2015-01-09 09:11:28