-
-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
6 changed files
with
185 additions
and
926 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -6,6 +6,7 @@ LICENSE | |
*.json5 | ||
*.lock | ||
*.log | ||
*.patch | ||
# TODE: make it work | ||
*.pug | ||
*.sh | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
diff --git a/node_modules/stylelint-config-prettier/src/checker.js b/node_modules/stylelint-config-prettier/src/checker.js | ||
index 83714bd..3619e19 100644 | ||
--- a/node_modules/stylelint-config-prettier/src/checker.js | ||
+++ b/node_modules/stylelint-config-prettier/src/checker.js | ||
@@ -30,7 +30,7 @@ async function getConfig(linter, resolvedPath) { | ||
|
||
async function check(path) { | ||
const resolvedPath = resolve(process.cwd(), path || ''); | ||
- const linter = stylelint.createLinter(); | ||
+ const linter = (stylelint.createLinter || stylelint._createLinter)(); | ||
const config = await getConfig(linter, resolvedPath); | ||
|
||
const prettierRules = stylelintConfigPrettier.rules; |
Oops, something went wrong.