1.0.6 • Published 2 months ago

@servicenow/eslint-plugin-sdk-app-plugin v1.0.6

Weekly downloads
-
License
MIT
Repository
-
Last release
2 months ago

@servicenow/eslint-plugin-sdk-app-plugin

Plugin to disallow Browser and Node.js APIs not supported in rhino engine

Installation

npm install && npm i -g .

Usage

Add @servicenow/sdk-app-plugin to the plugins section and update the extends array with "plugin:sdk-app-plugin/recommended" as shown below in your .eslintrc configuration file.

{
    "plugins": ["@servicenow/sdk-app-plugin"],
    "extends": ["plugin:@servicenow/sdk-app-plugin/recommended"]
}

Refer to ServiceNow docs for more information