eslint-plugin-googleappsscript

1.0.5 • Public • Published

eslint-plugin-googleappsscript

ESLint plugin for Google Apps Script that defines global variables exposed by Google Apps Script environment. It does not define any linting rules.

Installation

You'll first need to install ESLint:

$ npm i eslint --save-dev

Next, install eslint-plugin-googleappsscript:

$ npm install eslint-plugin-googleappsscript --save-dev

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

Usage

Add googleappsscript to the plugins section of your .eslintrc configuration file. You can omit the eslint-plugin- prefix. Also, add googleappsscript/googleappsscript": true to env section:

{
    "plugins": [
      "googleappsscript"
    ],
    "env": {
      "googleappsscript/googleappsscript": true
    }
}

Dependencies (1)

Dev Dependencies (2)

Package Sidebar

Install

npm i eslint-plugin-googleappsscript

Weekly Downloads

7,818

Version

1.0.5

License

MIT

Unpacked Size

4.78 kB

Total Files

4

Last publish

Collaborators

  • selectnull