Skip to content

Commit 3b29cd6

Browse files
authored
Merge pull request #2 from adambrgmn/develop
Fix missing files
2 parents 9edefda + a8093fd commit 3b29cd6

File tree

2 files changed

+27
-3
lines changed

2 files changed

+27
-3
lines changed

README.md

Lines changed: 18 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,18 @@
11
# Eslint Plugin ExtendScript
22

3-
> Add environmen globals for extendscript
3+
> Add environment globals for extendscript
4+
5+
## Table of Contents
46

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

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

11+
* [Installation](#installation)
12+
* [Setup](#setup)
13+
* [Contributions](#contributions)
914
* [Contributors](#contributors)
15+
* [License](#license)
1016

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

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

1925
```sh
2026
# with npm
21-
npm install --save-dev eslint-plugin-extendscript
27+
npm i --save-dev eslint-plugin-extendscript
2228

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

59+
```js
60+
{
61+
"extends": "eslint:recommended", // or any other presets
62+
"plugins": ["extendscript"],
63+
"env": {
64+
"extendscript/extendscript": true, // All available globals
65+
}
66+
}
67+
```
68+
5369
## Contributions
5470

5571
Contributions are more than welcome. Especially if you like to add more

package.json

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,16 @@
33
"version": "0.0.0-semantically-released",
44
"description": "Mainly environment variables for Adobes Extendscript",
55
"main": "dist/index.js",
6-
"repository": "git@github.com:adambrgmn/eslint-plugin-extendscript.git",
76
"author": "Adam Bergman <adam@fransvilhelm.com>",
7+
"repository": {
8+
"type": "git",
9+
"url": "https://github.com/adambrgmn/eslint-plugin-extendscript.git"
10+
},
11+
"bugs": {
12+
"url": "https://github.com/adambrgmn/eslint-plugin-extendscript/issues"
13+
},
14+
"homepage": "https://github.com/adambrgmn/eslint-plugin-extendscript#readme",
15+
"files": ["dist"],
816
"license": "MIT",
917
"keywords": ["eslint", "eslintplugin"],
1018
"scripts": {

0 commit comments

Comments
 (0)