Skip to content

Commit

Permalink
[KOA-6222] Stylelint 15, remove use-colors, remove use-tokens (#46)
Browse files Browse the repository at this point in the history
* update to latest eslint-config-skyscanner and jest

* stylelint 15

* changelog

* KOA would prefer commented out rather than deleted

* put back dot so it actually matches some tests...

* note automatic releases in changelog

* use typegraphy as example in README
  • Loading branch information
dominicfraser authored Jul 25, 2023
1 parent 3acae45 commit e84b6b8
Show file tree
Hide file tree
Showing 6 changed files with 3,980 additions and 7,556 deletions.
3 changes: 1 addition & 2 deletions .eslintrc.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
{
"parser": "babel-eslint",
"extends": [
"@skyscanner/skyscanner"
"@skyscanner/eslint-config-skyscanner"
]
}
2 changes: 1 addition & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Change Log

All notable changes to this project will be documented in this file.
This file remains for historical references, but all new releases are now documented in the package's [Releases page](https://github.com/Skyscanner/eslint-config-skyscanner/releases).

The format is based on [Keep a Changelog](http://keepachangelog.com/)
and this project adheres to [Semantic Versioning](http://semver.org/).
Expand Down
3 changes: 1 addition & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,7 @@ Like so:
// .stylelintrc
{
"rules": {
"backpack/use-colors": true,
"backpack/use-tokens": true
"backpack/use-typography-styles": true,
}
}
```
6 changes: 4 additions & 2 deletions index.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,9 @@

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

0 comments on commit e84b6b8

Please sign in to comment.