Skip to content

Commit 020c458

Browse files
Merge remote-tracking branch 'origin/master'
2 parents 0771e12 + e73fc0b commit 020c458

File tree

3 files changed

+3
-13
lines changed

3 files changed

+3
-13
lines changed

.travis.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ node_js:
55
- "12"
66
- "14"
77

8-
script: yarn ci
8+
script: yarn test
99

1010
after_success:
1111
- cat ./coverage/lcov.info | node_modules/.bin/coveralls --verbose

package.json

+2-3
Original file line numberDiff line numberDiff line change
@@ -25,12 +25,11 @@
2525
"prettier": "prettier -l --ignore-path .gitignore .",
2626
"eslint": "eslint --ignore-path .gitignore .",
2727
"lint": "yarn eslint && yarn prettier",
28-
"pretest": "yarn lint",
29-
"test": "jest",
3028
"test:only": "jest",
3129
"test:watch": "jest --watch",
3230
"test:coverage": "jest --coverage --collectCoverageFrom=\"src/**/*\"",
33-
"test:ci": "yarn pretest && yarn cover",
31+
"pretest": "yarn lint",
32+
"test": "yarn test:coverage",
3433
"prepublishOnly": "yarn test"
3534
},
3635
"dependencies": {

src/index.js

-9
Original file line numberDiff line numberDiff line change
@@ -508,15 +508,6 @@ module.exports = (options = {}) => {
508508
return;
509509
}
510510

511-
if (
512-
rule.nodes &&
513-
rule.selector.slice(0, 2) === "--" &&
514-
rule.selector.slice(-1) === ":"
515-
) {
516-
// ignore custom property set
517-
return;
518-
}
519-
520511
const context = localizeNode(rule, options.mode, localAliasMap);
521512

522513
context.options = options;

0 commit comments

Comments
 (0)