Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
20 changes: 18 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,12 +1,18 @@
# Eslint Plugin ExtendScript

> Add environmen globals for extendscript
> Add environment globals for extendscript

## Table of Contents

<!-- START doctoc generated TOC please keep comment here to allow auto update -->

<!-- DON'T EDIT THIS SECTION, INSTEAD RE-RUN doctoc TO UPDATE -->

* [Installation](#installation)
* [Setup](#setup)
* [Contributions](#contributions)
* [Contributors](#contributors)
* [License](#license)

<!-- END doctoc generated TOC please keep comment here to allow auto update -->

Expand All @@ -18,7 +24,7 @@ with [node](https://nodejs.org/). Install it as one of your projects

```sh
# with npm
npm install --save-dev eslint-plugin-extendscript
npm i --save-dev eslint-plugin-extendscript

# or with yarn
yarn add --dev eslint-plugin-extendscript
Expand Down Expand Up @@ -50,6 +56,16 @@ If you don't know or want to work on all environments you can use the
environment `"extendscript/extendscript"` instead. This will give you all
environment globals form all the ExtendScript environments.

```js
{
"extends": "eslint:recommended", // or any other presets
"plugins": ["extendscript"],
"env": {
"extendscript/extendscript": true, // All available globals
}
}
```

## Contributions

Contributions are more than welcome. Especially if you like to add more
Expand Down
10 changes: 9 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,16 @@
"version": "0.0.0-semantically-released",
"description": "Mainly environment variables for Adobes Extendscript",
"main": "dist/index.js",
"repository": "git@github.com:adambrgmn/eslint-plugin-extendscript.git",
"author": "Adam Bergman <adam@fransvilhelm.com>",
"repository": {
"type": "git",
"url": "https://github.com/adambrgmn/eslint-plugin-extendscript.git"
},
"bugs": {
"url": "https://github.com/adambrgmn/eslint-plugin-extendscript/issues"
},
"homepage": "https://github.com/adambrgmn/eslint-plugin-extendscript#readme",
"files": ["dist"],
"license": "MIT",
"keywords": ["eslint", "eslintplugin"],
"scripts": {
Expand Down