@admc.com/eslintplugin-sn-test 3.3.0 → 3.5.1

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
+ // Header comment
2
+ ({a, b}) => {
3
+ console.info(`Something about ${a} and ${b}`);
4
+ };
5
+ /* Tail comment */
@@ -0,0 +1,5 @@
1
+ /* eslint no-unused-vars: ["error", { "varsIgnorePattern": "fx" }] */
2
+ function fx({a, b}, c) {
3
+ console.info(`Something about ${a} and ${b} and ${c}`);
4
+ }
5
+ /* Tail comment */
@@ -0,0 +1,4 @@
1
+ /* eslint no-unused-vars: ["error", { "varsIgnorePattern": "fx" }] */
2
+ function fx(a, b) {
3
+ console.info(`Something about ${a} and ${b}`);
4
+ }
@@ -0,0 +1,5 @@
1
+ /* eslint no-unused-vars: ["error", { "varsIgnorePattern": "fx" }] */
2
+ const c = "bonus";
3
+ function fx({a, b}) {
4
+ console.info(`Something about ${a} and ${b} and ${c}`);
5
+ }
@@ -0,0 +1,5 @@
1
+ /* eslint no-unused-vars: ["error", { "varsIgnorePattern": "fx" }] */
2
+ function fx({a, b}) {
3
+ console.info(`Something about ${a} and ${b}`);
4
+ };
5
+ /* Tail comment */
@@ -0,0 +1,5 @@
1
+ // Header comment
2
+ ({a, b}) => {
3
+ console.info(`Something about ${a} and ${b}`);
4
+ }
5
+ /* Tail comment */
@@ -0,0 +1,4 @@
1
+ // a comment
2
+ ({a, b}) => console.info(`About ${a}`) || console.info(`About ${b}`)
3
+ /* multi
4
+ * line */
@@ -0,0 +1,5 @@
1
+ // comment
2
+ ({a, b}) =>
3
+ console.info(`About ${a}`) ||
4
+ console.info(`About ${b}`)
5
+ /* multi line*/
@@ -0,0 +1,4 @@
1
+ // eslint-disable-next-line no-empty-pattern
2
+ ({}) => { console.info("No params"); }
3
+
4
+ /* post comment */
@@ -0,0 +1,7 @@
1
+ // eslint-disable-next-line no-empty-pattern
2
+ ({}) => {
3
+ console.info("No params");
4
+ }
5
+
6
+ /* post
7
+ * comment */
@@ -0,0 +1 @@
1
+ () => { console.info("No params"); }
@@ -0,0 +1,9 @@
1
+ /* pre
2
+ * comment
3
+ */
4
+ () => {
5
+ console.info("No params");
6
+ }
7
+ /* post
8
+ * comment
9
+ */
@@ -0,0 +1,5 @@
1
+ // Header comment
2
+ (function({a, b}) {
3
+ console.info(`Something about ${a} and ${b}`);
4
+ })
5
+ /* Tail comment */
@@ -0,0 +1,5 @@
1
+ // Header comment
2
+ function({a, b}) {
3
+ console.info(`Something about ${a} and ${b}`);
4
+ }
5
+ /* Tail comment */
@@ -0,0 +1,5 @@
1
+ /* eslint no-unused-vars: ["error", { "varsIgnorePattern": "fx" }] */
2
+ function fx({a, b}) {
3
+ console.info(`Something about ${a} and ${b}`);
4
+ }
5
+ /* Tail comment */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@admc.com/eslintplugin-sn-test",
3
- "version": "3.3.0",
3
+ "version": "3.5.1",
4
4
  "description": "External tests for ESLint plugin @admc.com/eslint-plugin-sn",
5
5
  "scripts": {
6
6
  "test": "mocha --recursive",