eslint-plugin-try-catch-google-analytics

0.0.0 • Public • Published

eslint-plugin-try-catch-google-analytics

use 'tryGA' instead of 'ga'

Installation

You'll first need to install ESLint:

$ npm i eslint --save-dev

Next, install eslint-plugin-try-catch-google-analytics:

$ npm install eslint-plugin-try-catch-google-analytics --save-dev

Usage

Add try-catch-google-analytics to the plugins section of your .eslintrc configuration file. You can omit the eslint-plugin- prefix:

{
    "plugins": [
        "try-catch-google-analytics"
    ]
}

Next add try-catch-google-analytics to the rules section of .eslint.rc:

{
   "rules": {
       "try-catch-google-analytics/try-catch-google-analytics": 2
   } 
}

/eslint-plugin-try-catch-google-analytics/

    Package Sidebar

    Install

    npm i eslint-plugin-try-catch-google-analytics

    Weekly Downloads

    0

    Version

    0.0.0

    License

    ISC

    Unpacked Size

    2.73 kB

    Total Files

    3

    Last publish

    Collaborators

    • james-prado