We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a6853b1 commit 6281109Copy full SHA for 6281109
lib/cc/engine/csslint.rb
@@ -77,7 +77,7 @@ def csslint_xml
77
78
def files_to_inspect
79
include_paths = engine_config.fetch("include_paths", ["./"])
80
- extensions = engine_config.fetch("extensions", DEFAULT_EXTENSIONS)
+ extensions = engine_config.fetch("config", {}).fetch("extensions", DEFAULT_EXTENSIONS)
81
extensions_glob = extensions.join(",")
82
include_paths.flat_map do |path|
83
if path.end_with?("/")
spec/cc/engine/csslint_spec.rb
@@ -79,7 +79,9 @@ module Engine
describe "with custom extensions" do
let(:engine_config) do
{
- "extensions" => %w(.fancycss)
+ "config" => {
+ "extensions" => %w(.fancycss)
84
+ }
85
}
86
end
87
0 commit comments