File tree Expand file tree Collapse file tree 2 files changed +27
-3
lines changed Expand file tree Collapse file tree 2 files changed +27
-3
lines changed Original file line number Diff line number Diff line change 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
2430yarn 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
5056environment ` "extendscript/extendscript" ` instead. This will give you all
5157environment 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
5571Contributions are more than welcome. Especially if you like to add more
Original file line number Diff line number Diff line change 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" : {
You can’t perform that action at this time.
0 commit comments