@admc.com/eslintplugin-sn-test 2.0.3 → 2.0.5

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,3 @@
1
+ (function() {
2
+ if (!current.update()) throw new Error("update failed");
3
+ })(previous, current);
@@ -0,0 +1,5 @@
1
+ var CodeQuality = Class.create();
2
+ CodeQuality.prototype.type = "CodeQuality";
3
+ CodeQuality.prototype.checkRUS = function(remoteUpdateSet) {
4
+ gs.log(remoteUpdateSet, "src");
5
+ };
@@ -0,0 +1,7 @@
1
+ var CodeQuality = Class.create();
2
+ CodeQuality.prototype = {
3
+ initialize: function() {
4
+ },
5
+
6
+ type: 'CodeQuality'
7
+ };
@@ -0,0 +1,6 @@
1
+ class A { // Based on 'incorrect' example in ESLint Rules ref for class-methods-use-this
2
+ foo() {
3
+ console.info("Hello World");
4
+ }
5
+ }
6
+ new A();
@@ -0,0 +1,3 @@
1
+ (function() {
2
+ if (!current.update("update notation")) throw new Error("update failed");
3
+ })(previous, current);
@@ -0,0 +1,8 @@
1
+ var CodeQuality = Class.create();
2
+ CodeQuality.prototype = {
3
+ initialize: function() {
4
+ this.consTime = new Date();
5
+ },
6
+
7
+ type: 'CodeQuality'
8
+ };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@admc.com/eslintplugin-sn-test",
3
- "version": "2.0.3",
3
+ "version": "2.0.5",
4
4
  "description": "External tests for ESLint plugin @admc.com/eslint-plugin-sn",
5
5
  "scripts": {
6
6
  "test": "mocha --recursive",
@@ -28,6 +28,6 @@
28
28
  "mocha": "^10.0.0"
29
29
  },
30
30
  "peerDependencies": {
31
- "@admc.com/eslint-plugin-sn": "^2.0.9"
31
+ "@admc.com/eslint-plugin-sn": "^2.0.12"
32
32
  }
33
33
  }