diff --git a/README.md b/README.md index f6b7cd6..5d7e63e 100644 --- a/README.md +++ b/README.md @@ -1,12 +1,18 @@ # Eslint Plugin ExtendScript -> Add environmen globals for extendscript +> Add environment globals for extendscript + +## Table of Contents +* [Installation](#installation) +* [Setup](#setup) +* [Contributions](#contributions) * [Contributors](#contributors) +* [License](#license) @@ -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 @@ -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 diff --git a/package.json b/package.json index 37265e4..c02a3ac 100644 --- a/package.json +++ b/package.json @@ -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 ", + "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": {