🚀 DAY 4 OF LAUNCH WEEK:Introducing Socket Scanning for OpenVSX Extensions.Learn more →
Socket
Book a DemoInstallSign in
Socket

eslint-plugin-extendscript-plus

Package Overview
Dependencies
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

eslint-plugin-extendscript-plus

polyfill global variables & provide some awesome rules

latest
npmnpm
Version
0.0.2
Version published
Weekly downloads
1
-50%
Maintainers
1
Weekly downloads
 
Created
Source

eslint-plugin-extendscript-plus

npm npm test

polyfill global variables & provide some awesome rules

Installation

npm install eslint-plugin-extendscript-plus -D

# pnpm
pnpm add eslint-plugin-extendscript-plus -D

# pnpm monorepo
pnpm -w add eslint-plugin-extendscript-plus -D

Usage

Add extendscript-plus to the plugins section of your .eslintrc configuration file.

{
  "extends": [...others, "plugin:extendscript-plus/photoshop"]
}

Then configure the rules you want to use under the rules section.

{
  "rules": {
    "extendscript-plus/no-let": 0
  }
}

TODOs

  • AE support

rules

  • prefer-const-to-var
  • no-redeclare-const

Supported Rules

Each rule has emojis denoting:

  • âś… if it is enable by default
  • đź”§ if some problems reported by the rule are automatically fixable by the --fix command line option
  • đź’ˇ if some problems reported by the rule are manually fixable by editor suggestions
Name                                        Description✅🔧💡
no-letImprove regexes by making them shorter, consistent, and safer.âś…đź”§
no-consoleEnforce a specific parameter name in catch clauses.âś…đź”§
no-arrow-funcUse destructured variables over properties.âś…đź”§
no-property-shorthandMove function definitions to the highest possible scope.âś…đź”§

Thanks

I learn a lot from these awesome projects:

Keywords

eslint

FAQs

Package last updated on 17 Sep 2022

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts