Eslint Config Ns Save

ESLint config ready to be used in multiple projects. Based on Airbnb's code style with prettier, jest and react support.

Project README

eslint-config

GitHub issues GitHub stars GitHub license Commitizen friendly

natterstefan/eslint-config-ns

Packages

This monorepo contains multiple packages. Take a look at their READMEs for more details.

JavaScript

  • eslint-config-ns-base is the base package for JavaScript projects.
  • eslint-config-ns extends eslint-config-ns-base package and can be used in React projects.

TypeScript

  • eslint-config-ns-ts-base extends eslint-config-ns-base package and is the base package for TypeScript projects.
  • eslint-config-ns-ts is the last one in the chain and extends eslint-config-ns-ts-base and is best used in React TypeScript projects.

How to release

This repository uses GitHub Actions (debug locally) to create a release and update the CHANGELOG. The implementation is inspired and based on github.com/babel/actions.

Either push the tags after running this command to origin, or run the release workflow manually on GitHub.

Manually trigger release

yarn lerna:version
git push --follow-tags
# wait until GitHub Action finishes and then run
yarn lerna:publish

Manually create Changelog entry

npx lerna-changelog --from <tag> --to <tag>

Automatically with GitHub Actions

Manually invoke the GitHub Action release and wait until it finishes.

Once the release was created with GitHub Actions, publish the packages manually to npm with yarn lerna:publish.

Attention: make sure the Pull Requests have labels before you merge them. The label (e.g. enhancement and bug) will be used to create the CHANGELOG.

LICENSE

MIT

Stefan Natter
Open Source Agenda is not affiliated with "Eslint Config Ns" Project. README Source: natterstefan/eslint-config-ns

Open Source Agenda Badge

Open Source Agenda Rating