All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog and this project adheres to Semantic Versioning.
- Update from
babel-parser
to@babel/eslint-parser
- Update from ESLint 5 to ESLint 8
- Update from lodash
4.17.20
to4.16.21
- Update from Node
^16.13.0
to>=16.13.0
to allow versions higher than 16.
- Drops support for Node versions < 16. No new functionality is introduced, but from this point forwards it should not be assumed Node 12 will work.
- Reverted
3.0.0
and re-addedbpk-tokens
as a project dependency.
- Moved
bpk-tokens
to peer dependencies, so that version required in projects do not mismatch with project required versions.
- Upgraded
bpk-tokens
dependency.
- Upgraded
bpk-tokens
dependency.
- Upgraded
lodash
dependency.
use-components
now takes aplatform
option. The possible options areweb
(default) andnative
. This is breaking because previous users of this rule will need to addplatform: 'native'
to their config.
use-components
now works with web components too.
- Added new
use-component
rules for React Native componentsBpkFlatList
,BpkPicker
,BpkSectionList
,BpkSwitch
,BpkTextInput
- Moved Snyk dependency to devDeps
- Upgraded to support Node 12
- Upgrade dependencies.
- Upgrade dependencies.
- Whitelist colour values
"transparent"
,null
andundefined
.
- Added error for unknow color when using
use-tokens
rule.
- Added `use-components' rule.
- Removed
auto-import-tokens
rule and merged it as part of theuse-tokens
rule.
- Fixed
auto-import-tokens
to correctly parse different configs for different folders.
- Added
auto-import-tokens
rule. use-tokens
rule now works with lengths.
- Initial support for Backpack colours