@admc.com/eslintplugin-sn-test 1.0.3 → 1.0.6
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/badScripts/global/sys_processor/initEmptyString.js +3 -0
- package/badScripts/global/sys_script/{sane.js → es6console.js} +0 -0
- package/badScripts/global/sys_script/noIife.js +2 -0
- package/badScripts/global/sys_script/noIifeParams.js +2 -2
- package/badScripts/global/sys_script/wrongIifeParams.js +2 -2
- package/badScripts/global/sys_web_service/noIifeParams.js +3 -0
- package/badScripts/global/sys_web_service/wrongIifeParams.js +5 -0
- package/badScripts/scoped/sys_processor/scopedLogNoParam.js +1 -0
- package/badScripts/scoped/sys_processor/scopedTooManyParams.js +1 -0
- package/goodScripts/global/sys_script/noIifeNoVar.js +1 -0
- package/goodScripts/scoped/sys_processor/scopedLogging.js +4 -0
- package/package.json +1 -1
- package/sneslintrc.json +2 -1
- package/badScripts/global/sys_script/noiife.js +0 -1
|
File without changes
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
(function() {
|
|
2
|
-
|
|
3
|
-
}(); // Invocation params here is what is constrained
|
|
2
|
+
gs.log("This will fail", "blaine");
|
|
3
|
+
})(); // Invocation params here is what is constrained
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
(function() {
|
|
2
|
-
|
|
3
|
-
}(
|
|
2
|
+
gs.log("This will fail", "blaine");
|
|
3
|
+
})(previous, previous); // Invocation params here is what is constrained
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
gs.info();
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
gs.info("no placeholders", "two");
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
gs.log("here without IIFE", "blaine");
|
package/package.json
CHANGED
package/sneslintrc.json
CHANGED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
console.log("here without IIFE", "blaine");
|