After cloning this repository, run:
cd eslint-plugin-plentific && yarn
Symlink a package folder during development.
In eslint-plugin-plentific
repository, run:
yarn link
Output should look like this:
yarn link vx.x.x
success Registered "eslint-plugin-plentific".
info You can now run `yarn link "eslint-plugin-plentific"` in the projects where you want to use this package and it will be used instead.
In dashboard
repository, run:
yarn link eslint-plugin-plentific
Output should look like this:
yarn link vx.x.x
success Using linked package for "eslint-plugin-plentific".
To reverse this process, simply use yarn unlink
or yarn unlink eslint-plugin-plentific
depending on the repository.
Linting errors appears on fresh cloned project or code changes in linting rules files seem to not take an effect.
- Remove
node_modules
andrun yarn
Once you finish your PR, don't forget bump the version in package.json, and also to reflect it in the lock file.
yarn upgrade eslint-plugin-plentific