@zapier/eslint-plugin-zapier
v11.0.2
Published
shareable zapier eslint config and custom rules
Downloads
1,329
Maintainers
Keywords
Readme
eslint-plugin-zapier
Shareable recommended rule configuration and custom rules for internal Zapier usage.
This package is owned and maintained by the foundations team (#team-foundations).
Usage
Add @zapier/zapier
to the plugins
and extends
section of your .eslintrc
configuration file. You can omit the eslint-plugin-
prefix:
{
"plugins": ["@zapier/zapier"],
"extends": ["plugin:@zapier/zapier/config"]
}
You may optionally configure any specific rules you want to override under the rules
section:
{
"rules": {
"semi": "off"
}
}
Versioning Policy
eslint-plugin-zapier
follows a semantic versioning policy along the lines of ESLint's semver policy:
Major releases: In general, any change that could cause more errors to be reported on the consumer's CI should be considered a major release. Examples:
- adding new rules that are on by default in one of the presets
- changing existing rules, if it causes more errors
Minor releases:
- disabling or removing rules (less linting errors reported)
- changing existing rules, if it doesn't cause more errors
- adding new rules, if they are not on by default in any preset
Patch releases:
- bug fixes
- doc changes
- non user-facing changes