/eslint

Primary LanguageJavaScriptMIT LicenseMIT

@tiphedor/eslint-config

eslint config for various envs.

Available packages

@tiphedor/eslint-config-base @tiphedor/eslint-config-vue @tiphedor/eslint-config-react

Usage

In general, all you need is to do :

yarn add -D @tiphedor/eslint-config-<CONFIG TO USE>
# or 
npm install --save-dev @tiphedor/eslint-config-<CONFIG TO USE>

Then in your eslint config, extend from the package :

{
	// rest of your config....
	extends: [
		'@tiphedor/eslint-config-<CONFIG TO USE>'
	]
}

See the individual packages README for more info.

Release

This monorepo uses lerna to manage its release cycle. To initiate a new release, simply run :

lerna version

Lerna will prompt you to pick the version you want - and then it will handle creating tags, commits, and all that good stuff. When ready to publish:

lerna publish from-package

See: https://github.com/lerna/lerna