This is the shared eslint configuration for zthun scoped projects.
# NPM
npm install @zthun/eslint-config --save-dev
# Yarn
yarn add @zthun/eslint-config --dev
Make sure to install typescript and @typescript-eslint/eslint-plugin with all peer dependencies.
In the .eslintrc file, add the following
{
"extends": ["@zthun/eslint-config"]
}
That's it. You now have the recommended rules for zthun scoped projects with typescript.