0.2.0 • Published 3 years ago

@wglfam/eslint-config v0.2.0

Weekly downloads
-
License
MIT
Repository
github
Last release
3 years ago

ESLint Config

npm

ESLint config for wglfam projects.

Usage

pnpm i -D eslint @wglfam/eslint-config

Then add this .eslintrc.js to the project:

module.exports = {
  extends: "@wglfam/eslint-config",
};

Testing locally

You can test an updated eslint config locally by linking the module globally:

# from eslint-config directory
pnpm link

# from project directory
pnpm link @wglfam/eslint-config

Publishing a new version

Follow semver. Adding, removing, or updating a rule is a breaking change and requires a new major version.

pnpm version major|minor|patch
git push
git push --tags
pnpm publish