eslint-plugin-cflint
ESLint rules for CloudFlare
Last updated 5 years ago by terinjokes .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install eslint-plugin-cflint 
SYNC missed versions from official npm registry.

eslint-plugin-cflint

CloudFlare specific listing rules for ESLint.

Installation

Install ESLint either locally or globally.

$ npm install eslint

If you installed ESLint globally, you have to install CFLint plugin globally too. Otherwise, install it locally.

$ npm install eslint-plugin-cflint

Configuration

First, add cflint to your ESLint configuration's "plugin" section.

{
  "plugins": [
    "cflint"
  ]
}

Then, enable all of the rules that you would like to use.

{
  "rules": {
    "cflint/no-substr": 1,
    "cflint/no-this-assignment": 1
  }
}

List of supported rules

License

MIT License.

Current Tags

  • 1.0.0                                ...           latest (5 years ago)

1 Versions

  • 1.0.0                                ...           5 years ago
Maintainers (1)
Downloads
Today 0
This Week 0
This Month 0
Last Day 0
Last Week 0
Last Month 1
Dependencies (0)
None
Dev Dependencies (4)
Dependents (0)
None

Copyright 2014 - 2016 © taobao.org |