This package has been deprecated

Author message:

This package was moved to @zapier/eslint-plugin-zapier

eslint-plugin-zapier

5.0.0 • Public • Published

eslint-plugin-zapier

Shareable recommended rule configuration and custom rules for internal Zapier usage.

Installation

npm install --save-dev eslint-plugin-zapier

Note: If you installed ESLint globally (using the -g flag) then you must also install eslint-plugin-zapier globally.

Usage

Add zapier to the plugins and extends section of your .eslintrc configuration file. You can omit the eslint-plugin- prefix:

{
  "plugins": ["zapier"],
  "extends": ["plugin:zapier/base"],
}

You may optionally configure any specific rules you want to override under the rules section:

{
  "rules": {
    "semi": "off"
  }
}

Prettier Support

If you're using prettier, you can extend from plugin:zapier/prettier instead to turn-off all rules from this config that would conflict with prettier:

{
  "extends": [
    "plugin:zapier/prettier"
  ]
}

Note that this does not enable prettier in the consuming project. It only disables all ESLint rules that would otherwise conflict with prettier.

Versioning Policy

eslint-plugin-zapier follows a semantic versioning policy along the lines of ESLint's semver policy:

Major releases:

  • changing existing rules or adding new rules (more linting errors reported)

Minor releases:

  • disabling or removing rules (less linting errors reported)

Patch releases:

  • bug fixes
  • doc changes
  • non user-facing changes

Readme

Keywords

none

Package Sidebar

Install

npm i eslint-plugin-zapier

Weekly Downloads

5

Version

5.0.0

License

none

Last publish

Collaborators

  • vitorbal