feat(rules): add yarn (gh #5)

* feat(rules): add yarn

---------

Co-authored-by: iff <iff@ik.me>
This commit is contained in:
Nicholas Ciechanowski 2024-09-25 01:32:21 +10:00 committed by GitHub
parent 55f331a1a9
commit b2c95c30e7

10
rules/yarn.toml Normal file
View file

@ -0,0 +1,10 @@
command = "yarn"
[[match_err]]
pattern = [
"error `install` has been replaced with `add` to add new dependencies."
]
suggest = [
'''
yarn add {{command[2:]}} '''
]