Impl command or flag for fix invalid tokens
Open
RFC
- Dominant language
- TypeScript
- Stars
- 75
- Forks
- 11
- PR merge metrics
- No merged PRs in 30d
Description
## Proposal
Implement command or flag for fix invalid tokens, and remove duplicate tokens.
## Use case
### Broken path
We have override tokens with broken path:
**base**
```yml
color:
base:
value: "#fff"
```
**override**
```yml
color-base:
value: "#fff"
```
In result we have warning for different tokens with same result.
### Duplicate tokens
**base**
```yml
color:
base:
value: "#fff"
```
**override**
```yml
color:
base:
value: "#fff"
```
### Command
```sh
themekit build --fix
```
Contributor guide
Assessment
This issue has not been assessed yet.