Giter Site home page Giter Site logo

eslint-config-wyze's Introduction

eslint-config-wyze

Build Status npm devDependencies

My personal ESLint settings.

Installation

Note: The below commands will generate the command you will need to run for installation. You can replace yarn add --dev with npm i --save-dev if not using Yarn.

Base

(
  export PKG=eslint-config-wyze; npm info $PKG config.basePeers --json | command sed 's/[\{\},]//g ; s/: /@/g' | xargs echo yarn add --dev $PKG
)

Preact/React

(
  export PKG=eslint-config-wyze; npm info $PKG config.reactPeers --json | command sed 's/[\{\},]//g ; s/: /@/g' | xargs echo yarn add --dev $PKG
)

Flow

(
  export PKG=eslint-config-wyze; npm info $PKG config.flowPeers --json | command sed 's/[\{\},]//g ; s/: /@/g' | xargs echo yarn add --dev $PKG
)

Usage

package.json

{
  // React
  "eslintConfig": {
    "extends": "wyze"
  }

  // Preact
  "eslintConfig": {
    "extends": "wyze/preact"
  }

  // Non-React
  "eslintConfig": {
    "extends": "wyze/base"
  }

  // Flow
  "eslintConfig": {
    "extends": "wyze/flow"
  }

  // Multiple (React + Flow)
  "eslintConfig": {
    "extends": [
      "wyze",
      "wyze/flow"
    ]
  }
}

Peer Dependencies

Package Base Preact/React Flow
babel-eslint ๐Ÿ“ฆ
eslint ๐Ÿ“ฆ ๐Ÿ“ฆ ๐Ÿ“ฆ
eslint-config-airbnb ๐Ÿ“ฆ ๐Ÿ“ฆ
eslint-plugin-eslint-comments ๐Ÿ“ฆ ๐Ÿ“ฆ
eslint-plugin-flowtype ๐Ÿ“ฆ
eslint-plugin-import ๐Ÿ“ฆ ๐Ÿ“ฆ
eslint-plugin-jsx-a11y ๐Ÿ“ฆ
eslint-plugin-react ๐Ÿ“ฆ
eslint-plugin-wyze ๐Ÿ“ฆ ๐Ÿ“ฆ

Change Log

Full Change Log

v5.0.0 (2017-04-02)

  • [facbd4e68b] - Upgrade dependencies (Neil Kistner)
  • [5a278abd00] - Update readme and installation method (Neil Kistner)
  • [c8476650de] - Add eslint-comments plugin (Neil Kistner)
  • [3d20212e92] - Enable rules for eslint-plugin-jsx-a11y@4 and require overrides (Neil Kistner)
  • [6162b2b688] - Exclude test files from npm package (Neil Kistner)
  • [3265224d17] - Upgrade dependencies (Neil Kistner)
  • [3e2283e267] - Update version script to skip beta releases in changelog (Neil Kistner)
  • [63f1686355] - Enable some eslint-plugin-jsx-a11y rules (Neil Kistner)
  • [c7fd8556ff] - Enable react/void-dom-elements-no-children rule (Neil Kistner)
  • [62c1ebcf45] - Relax react/sort-prop-types rule (Neil Kistner)
  • [f3c9fe769f] - Remove react rules enforced by AirBnb (Neil Kistner)
  • [cd4a6a1d29] - Relax react/jsx-sort-props rule (Neil Kistner)
  • [57c75e3d9d] - Add past changelog and changelog build script (Neil Kistner)
  • [a878cce34a] - Fix build (Neil Kistner)
  • [b1fa5888f7] - Upgrade dependencies (Neil Kistner)
  • [645d72e356] - Fixing lint errors (Neil Kistner)
  • [8f666bbf5d] - Streamline test process a little more (Neil Kistner)
  • [763c78b238] - Always enforce space in arrays, no exceptions (Neil Kistner)
  • [ec0c03368d] - Remove max-len rule and fall back to AirBnb's (100 char) (Neil Kistner)
  • [96569b19a8] - Remove id-blacklist rule and use AirBnb's setting (Neil Kistner)
  • [bc33e5b42c] - Switch to Jest for testing (Neil Kistner)
  • [62302e6d52] - Quick project cleanup (Neil Kistner)

License

MIT ยฉ Neil Kistner

eslint-config-wyze's People

Contributors

wyze avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

eslint-config-wyze's Issues

Remove dependency on `estraverse-fb`

ESLint removed it as a dependency in 2.3, but babel-eslint required it. In order to support ESLint 2.3 and close #1 I added this as a dependency. Once a patch version of ESLint or babel-eslint is released then this dependency should be removed.

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.