@servicenow/eslint-plugin-sdk-app-plugin 1.0.6 → 2.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +0 -2
- package/lib/configs/recommended.js +0 -2
- package/package.json +36 -34
package/README.md
CHANGED
|
@@ -18,5 +18,3 @@ Add `@servicenow/sdk-app-plugin` to the plugins section and update the extends a
|
|
|
18
18
|
"extends": ["plugin:@servicenow/sdk-app-plugin/recommended"]
|
|
19
19
|
}
|
|
20
20
|
```
|
|
21
|
-
|
|
22
|
-
Refer to [ServiceNow ](https://docs.servicenow.com/bundle/washingtondc-api-reference/page/script/sdk/concept/servicenow-sdk.html) docs for more information
|
|
@@ -6,8 +6,6 @@ module.exports = {
|
|
|
6
6
|
rules:{
|
|
7
7
|
'@servicenow/sdk-app-plugin/file-extension-in-import':['error','always'],
|
|
8
8
|
'no-restricted-globals':['error',...restrictedGlobals],
|
|
9
|
-
'@servicenow/sdk-app-plugin/no-promise':'error',
|
|
10
|
-
'@servicenow/sdk-app-plugin/no-async-functions': 'error',
|
|
11
9
|
'@servicenow/sdk-app-plugin/no-dynamic-import': 'error',
|
|
12
10
|
'@servicenow/sdk-app-plugin/no-regexp-lookbehind-assertions': 'error',
|
|
13
11
|
'@servicenow/sdk-app-plugin/no-regexp-unicode-property-escapes': 'error',
|
package/package.json
CHANGED
|
@@ -1,36 +1,38 @@
|
|
|
1
1
|
{
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
"
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
"
|
|
2
|
+
"name": "@servicenow/eslint-plugin-sdk-app-plugin",
|
|
3
|
+
"version": "2.0.0",
|
|
4
|
+
"description": "Plugin to disallow Browser and Node.js APIs not supported in rhino engine",
|
|
5
|
+
"keywords": [
|
|
6
|
+
"eslint",
|
|
7
|
+
"eslintplugin",
|
|
8
|
+
"eslint-plugin"
|
|
9
|
+
],
|
|
10
|
+
"author": "Harish Kumar Srinivasappa",
|
|
11
|
+
"main": "./lib/index.js",
|
|
12
|
+
"exports": "./lib/index.js",
|
|
13
|
+
"dependencies": {
|
|
14
|
+
"@eslint-community/eslint-utils": "4.4.0",
|
|
15
|
+
"eslint": "8.50.0",
|
|
16
|
+
"eslint-plugin-n": "16.3.1",
|
|
17
|
+
"eslint-plugin-es-x": "7.2.0",
|
|
18
|
+
"eslint-plugin-eslint-plugin": "5.0.0",
|
|
19
|
+
"globals": "13.23.0"
|
|
20
|
+
},
|
|
21
|
+
"devDependencies": {
|
|
22
|
+
"mocha": "10.0.0",
|
|
23
|
+
"npm-run-all": "4.1.5"
|
|
24
|
+
},
|
|
25
|
+
"peerDependencies": {
|
|
26
|
+
"eslint": ">=8"
|
|
27
|
+
},
|
|
28
|
+
"license": "MIT",
|
|
29
|
+
"engines": {
|
|
30
|
+
"node": ">=18.16.1",
|
|
31
|
+
"pnpm": ">=9.4.0"
|
|
32
|
+
},
|
|
33
|
+
"scripts": {
|
|
34
|
+
"lint": "npm-run-all \"lint:*\"",
|
|
35
|
+
"lint:js": "eslint .",
|
|
36
|
+
"test": "mocha tests --recursive"
|
|
37
|
+
}
|
|
36
38
|
}
|