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.
csscomb.json
1 parent d6fc990 commit 06482a9Copy full SHA for 06482a9
lib/cli.js
@@ -36,7 +36,9 @@ var configPath = program.config &&
36
path.resolve(process.cwd(), program.config) ||
37
Comb.getCustomConfigPath();
38
39
-if (fs.existsSync(configPath) && configPath.match(/\.css$/)) {
+if (!fs.existsSync(configPath)) {
40
+ config = require('../config/csscomb.json');
41
+} else if (configPath.match(/\.css$/)) {
42
config = Comb.detectInFile(configPath);
43
} else {
44
config = Comb.getCustomConfig(configPath);
0 commit comments