Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
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

  • 0.0.2
  • latest
  • npm
  • Socket score

Version published
Maintainers
1
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

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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc