GithubHelp home page GithubHelp logo

isabella232 / eslint-plugin-zapier Goto Github PK

View Code? Open in Web Editor NEW

This project forked from zapier/eslint-plugin-zapier

0.0 0.0 0.0 158 KB

:shower: A shareable version of the .eslintrc file used internally at Zapier.

JavaScript 100.00%

eslint-plugin-zapier's Introduction

Moved to https://github.com/zapier/zapier/tree/develop/packages/libraries/eslint-plugin-zapier.

eslint-plugin-zapier

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

Build Status

Installation

yarn add --dev @zapier/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/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/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/zapier/prettier instead to turn-off all rules from this config that would conflict with prettier:

{
  "extends": [
    "plugin:@zapier/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: 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

eslint-plugin-zapier's People

Contributors

bryanhelmig avatar codekirei avatar jacebrowning avatar jamescarr avatar jdaudier avatar ngryman avatar philsnow avatar ruebel avatar stevenhauser avatar szchenghuang avatar vitorbal avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.