-
Notifications
You must be signed in to change notification settings - Fork 51
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* The way a descendent combinator that isn't a single space character (E.g. `.a .b`) is stored in the AST has changed. * Named Combinators (E.g. `.a /for/ .b`) are now properly parsed as a combinator. * It is now possible to look up a node based on the source location of a character in that node and to query nodes if they contain some character. * Several bug fixes that caused the parser to hang and run out of memory when a `/` was encountered have been fixed. * The minimum supported version of Node is now `v6.0.0`. This fixes stylelint in conjunction with stylelint/stylelint#3284
- Loading branch information
Showing
24 changed files
with
776 additions
and
97 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 |
---|---|---|
@@ -0,0 +1,4 @@ | ||
[submodule "integration/stylelint"] | ||
path = integration/stylelint | ||
url = https://github.com/chriseppstein/stylelint.git | ||
branch = selector-parser-4.0 |
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 @@ | ||
integration/*/ |
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,12 @@ | ||
#!/bin/bash | ||
if [[ $INTEGRATION == "false" ]]; then | ||
exit 0; | ||
fi | ||
git submodule update --init --recursive | ||
npm link | ||
cd integration/stylelint | ||
npm link postcss-selector-parser | ||
npm install | ||
NODE_VERSION=`node -e "console.log(process.version.replace(/v(\d).*/,function(m){return m[1]}))"` | ||
CI="tests $NODE_VERSION" | ||
npm run jest -- --maxWorkers=2 --testPathIgnorePatterns lib/__tests__/standalone-cache.test.js || exit $? |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Oops, something went wrong.