资源算法eslint-config-flair

eslint-config-flair

2020-04-09 | |  31 |   0 |   0

Flair - ESLint Shareable Config

An Shareable ESLint Config for JavaScript.

Install

npm install eslint-config-flair

Usage

To use the basic rules, extend the basic ruleset from your .eslintrc config.

{  "extends": [    "flair"
  ]
}

Available extensions to use:

  • flair - basic linting rules

  • flair/es6 - es6 linting rules

  • flair/node - node linting rules

  • flair/react - react linting rules

  • flair/browser - browser linting rules

The rules can be mixed and matched depending on what kind of environment you are about to lint.

NodeJS linting rules

{  "extends": [    "flair",    "flair/node"
  ]
}

NodeJS ES6 linting rules

{  "extends": [    "flair",    "flair/es6",    "flair/node"
  ]
}

Browser ES6 linting rules

{  "extends": [    "flair",    "flair/es6",    "flair/browser"
  ]
}

React ES6 linting rules

{  "extends": [    "flair",    "flair/es6",    "flair/react"
  ]
}


上一篇:form_elements_with_flair

下一篇:flairwars-graph

用户评价
全部评价

热门资源

  • seetafaceJNI

    项目介绍 基于中科院seetaface2进行封装的JAVA...

  • spark-corenlp

    This package wraps Stanford CoreNLP annotators ...

  • Keras-ResNeXt

    Keras ResNeXt Implementation of ResNeXt models...

  • capsnet-with-caps...

    CapsNet with capsule-wise convolution Project ...

  • shih-styletransfer

    shih-styletransfer Code from Style Transfer ...