Skip to content

Commit db196fc

Browse files
dominicfraserolliecurtis
authored andcommitted
KOA would prefer commented out rather than deleted
1 parent 32b2a19 commit db196fc

File tree

3 files changed

+6
-4
lines changed

3 files changed

+6
-4
lines changed

CHANGELOG.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ and this project adheres to [Semantic Versioning](http://semver.org/).
88
## 3.0.0
99

1010
- Update from stylelint 14.3.0 to 15.10.2
11-
11+
- Removed deprecated `use-colors` and `use-tokens` rules that were known to cause false positives
1212
## 2.0.1
1313

1414
- Update from Node `^16.13.0` to `>=16.13.0` to allow versions higher than 16

index.js

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,9 @@
1515

1616
/* eslint-disable global-require */
1717
module.exports = [
18-
require('./lib/rules/use-colors'),
19-
require('./lib/rules/use-tokens'),
18+
// These are known to cause false positives. They also need updates to work with Stylelint 15.
19+
// KOA-6223 to fix or delete completely
20+
// require('./lib/rules/use-colors'),
21+
// require('./lib/rules/use-tokens'),
2022
require('./lib/rules/use-typography-styles'),
2123
];

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
},
1818
"scripts": {
1919
"pretest": "npx [email protected] ",
20-
"test": "npm run lint && jest",
20+
"test": "npm run lint && jest --testPathPattern=\"^((?!use-colors/)(?!use-tokens/))*$\"",
2121
"lint": "npm run lint:js",
2222
"lint:js": "eslint . --ext js",
2323
"lint:js:fix": "eslint . --ext js --fix",

0 commit comments

Comments
 (0)