@admc.com/eslintplugin-sn-test 3.12.1 → 3.13.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.
@@ -0,0 +1,5 @@
1
+ const gr = new GlideRecord("sys_script_fix");
2
+ gr.setLimit(1);
3
+ if (gr.next()) gs.log("Got sys_script_fix " + gr.sys_id, "src");
4
+ gr.setValue("someField", "someVal");
5
+ if (!gr.update()) throw new Error("update failed");
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@admc.com/eslintplugin-sn-test",
3
- "version": "3.12.1",
3
+ "version": "3.13.0",
4
4
  "description": "External tests for ESLint plugin @admc.com/eslint-plugin-sn",
5
5
  "scripts": {
6
6
  "test": "mocha --recursive",
package/sneslintrc.json CHANGED
@@ -57,10 +57,6 @@
57
57
  }, { // Same reason as the warn-to-error overides above, but rule applies only to some scripts.
58
58
  "files": [ "**/catalog_script_client/*/*.js" ],
59
59
  "rules": { "@admc.com/sn/no-backtick-curlyref": "error" }
60
- }, { // Same reason as the warn-to-error overides above, but rule applies only to some scripts.
61
- "files": [
62
- "**/@(global|iso_global|noniso_global)/*.js", "**/sys_variable_value/s*_global/*.js" ],
63
- "rules": { "vars-on-top": "error" }
64
60
  }, { // Same reason as the warn-to-error overides above, but rule applies only to some scripts.
65
61
  "files": [ "**/global/*.js", "**/sys_variable_value/s*_global/*.js" ],
66
62
  "rules": { "@admc.com/sn/no-log-console": "error" }