- To use these packages you need to add the following to
.npmrc
:@yello-io:registry=https://npm.pkg.github.com/yello-io //npm.pkg.github.com/:_authToken=TOKEN
- Replace
TOKEN
with a GitHub token you can get from one of the Yello members. - Install the configuration package you want to use (read more about them below). Then add a
.eslintrc
-file with the following contents:{ "extends": "PACKAGE_NAME" }
This package is used inn all the other config packages. It is also perfect for TypeScript projects. Does not support things such as JSX or HTML.
This package extends eslint-config-yello-base
and is great for your TypeScript React projects.
This package extends eslint-config-yello-base
and eslint-config-yello-react
. It also includes the package @next/eslint-plugin-next
and is perfect to use with all NextJS projects.