@admc.com/eslintplugin-sn-test 3.8.1 → 3.9.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.
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
// eslint-disable-next-line max-len
|
|
2
|
-
console.info(`The built-in variables are g_list ${g_list}, g_fieldName (${g_fieldName
|
|
2
|
+
console.info(`The built-in variables are g_list ${g_list}, g_fieldName (${g_fieldName}), g_sysId ${g_sysId}`);
|
package/package.json
CHANGED
package/sneslintrc.json
CHANGED
|
@@ -29,7 +29,7 @@
|
|
|
29
29
|
"overrides": [
|
|
30
30
|
{ // ES6 overrides
|
|
31
31
|
"files": [ "**/@(noniso|iso)/*.js",
|
|
32
|
-
"**/@(sys_ui_script|sys_script_validator|sp_widget.client_script|sys_ux_data_broker_scriptlet)/all/*.js"], // eslint-disable-line max-len
|
|
32
|
+
"**/@(sys_ui_script|sys_script_validator|sp_widget.client_script|sys_ux_data_broker_scriptlet|sp_widget.link|sys_ui_context_menu)/all/*.js"], // eslint-disable-line max-len
|
|
33
33
|
"rules": {
|
|
34
34
|
"strict": ["error", "function"],
|
|
35
35
|
"prefer-arrow-callback": "error",
|
|
@@ -57,7 +57,7 @@
|
|
|
57
57
|
// Reverting eslint-plugin-sn exceptions back, because we overrode them generally above
|
|
58
58
|
// when raising warnings to errors.
|
|
59
59
|
"files":
|
|
60
|
-
["**/@(sys_ui_script|sp_widget.script|sp_widget.client_script|sp_widget.link)/*/*.js"],
|
|
60
|
+
["**/@(sys_ui_script|sp_widget.script|sp_widget.client_script|sp_widget.link|sp_widget.link|sys_ui_context_menu)/*/*.js"],
|
|
61
61
|
"rules": {
|
|
62
62
|
"prefer-template": "off",
|
|
63
63
|
"no-template-curly-in-string": "off"
|