$ npm i -D @frosas/eslint-config
Copy the project-specific files and edit them as needed:
$ cp -a node_modules/@frosas/eslint-config/project-files/. .
Integrate it into the project development workflow. For example, in your package.json
:
{
"scripts": {
"lint": "eslint .",
"test": "npm run lint && ..."
}
}
npm run generate-types
and commit the changes- Update CHANGELOG.md
npm version <major | minor | patch>
npm publish [--tag next]