Notekunn's ESLint config, Prettier config, TSConfig config.
-
Clone repo using ssh.
git clone git@github.com:notekunn/lint.git
-
Install project dependencies
yarn install
Before start, You need a token with private packages access.
You can create one here.
In your project root folder, create a file .npmrc
with content:
@notekunn:registry=https://npm.pkg.github.com/
//npm.pkg.github.com/:_authToken=YOUR_GITHUB_PERSONAL_TOKEN
Now you have access to notekunn's private packages.
yarn add --dev @notekunn/eslint-config @notekunn/prettier-config @notekunn/tsconfig @notekunn/commitlint-config
yarn add --dev ts-jest
After installing, update a package's package.json
file to add the following properties.
"jest": {
"transform": {
"^.+\\.ts$": "ts-jest"
}
},