Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/selectnull/eslint-plugin-googleappsscript
ESLint plugin for Google Apps Script environment
https://github.com/selectnull/eslint-plugin-googleappsscript
eslint-plugin google-apps-script
Last synced: 9 days ago
JSON representation
ESLint plugin for Google Apps Script environment
- Host: GitHub
- URL: https://github.com/selectnull/eslint-plugin-googleappsscript
- Owner: selectnull
- License: mit
- Created: 2017-02-11T12:30:05.000Z (almost 8 years ago)
- Default Branch: master
- Last Pushed: 2023-06-09T07:21:09.000Z (over 1 year ago)
- Last Synced: 2024-04-25T23:45:08.427Z (7 months ago)
- Topics: eslint-plugin, google-apps-script
- Language: JavaScript
- Size: 9.77 KB
- Stars: 45
- Watchers: 3
- Forks: 7
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# 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](http://eslint.org):
```
$ 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:```json
{
"plugins": [
"googleappsscript"
],
"env": {
"googleappsscript/googleappsscript": true
}
}
```