0.2.0 • Published 4 years ago
@wglfam/eslint-config v0.2.0
ESLint Config
ESLint config for wglfam projects.
Usage
pnpm i -D eslint @wglfam/eslint-configThen 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-configPublishing 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