Introduction
This repo contains eslint
and prettier
config intended to be used in Ardoq's front-end code repositories.
The config is separated into two main entry points eslint-app.js
and eslint-lib.js
.
Application repositories should extend the former, while library repositories should extend the latter.
Usage
Consumers of this repo are expected to explicitly install the dependencies specified here.
Check the peerDependencies
warnings during yarn install
.
Development
This repo is just a collection of configs, so development involves only updating the appropriate JS or JSON files.
Make sure to run yarn install
after changing deps.
Deploying changes (after a reviewed PR)
- Make sure your branch is rebased on top of master (after pulling the latest master)
$ git rebase master
-
Squash any unnecessary commits
-
Merge your changes into master
$ git checkout master && git merge <yourBranch>
-
yarn version
and bump the version number
-
yarn publish
and do not bump the version number, because you just did that.
-
git push