@servicenow/eslint-plugin-sdk-app-plugin
v1.0.6
Published
Plugin to disallow Browser and Node.js APIs not supported in rhino engine
Downloads
80
Readme
@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