eslint-plugin-no-document-cookie
find document.cookie
Last updated 4 years ago by sota1235 .
MIT · Original npm · Tarball · package.json
$ cnpm install eslint-plugin-no-document-cookie 
SYNC missed versions from official npm registry.

eslint-plugin-no-document-cookie

npm version Build Status dependencies Status devDependencies Status

find document.cookie

Installation

You'll first need to install ESLint:

$ npm i eslint --save-dev

Next, install eslint-plugin-no-document-cookie:

$ npm install eslint-plugin-no-document-cookie --save-dev

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

Usage

Add no-document-cookie to the plugins section of your .eslintrc configuration file. You can omit the eslint-plugin- prefix:

{
    "plugins": [
        "no-document-cookie"
    ]
}

Then configure the rules you want to use under the rules section.

{
    "rules": {
        "no-document-cookie/rule-name": 2
    }
}

Supported Rules

  • no-document-cookie: Find 'document.cookie' from the code.

Current Tags

  • 0.1.2                                ...           latest (4 years ago)

3 Versions

  • 0.1.2                                ...           4 years ago
  • 0.1.1                                ...           4 years ago
  • 0.1.0                                ...           4 years ago
Maintainers (1)
Downloads
Today 0
This Week 0
This Month 0
Last Day 0
Last Week 0
Last Month 0
Dependencies (1)
Dev Dependencies (2)
Dependents (0)
None

Copyright 2014 - 2016 © taobao.org |