We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 821703f + f54fcf5 commit 6f5c895Copy full SHA for 6f5c895
package.json
@@ -29,7 +29,8 @@
29
"hint"
30
],
31
"scripts": {
32
- "test": "npm link eslint-config-htmlacademy && eslint test/"
+ "test": "npm link eslint-config-htmlacademy && eslint test/",
33
+ "deploy": "npm run test && npm publish --access public"
34
},
35
"repository": {
36
"type": "git",
test/es6/unused-params.js
@@ -0,0 +1,23 @@
1
+const bar = (param2) => {
2
+ return param2;
3
+};
4
+
5
+const foo = () => {
6
+ bar();
7
8
9
+const myObject = {
10
+ method1() {
11
+ return `12`;
12
+ },
13
+ methodWithIgnoredParam(_ignore) {
14
+ return 42;
15
+ }
16
17
18
+bar(function () {
19
+ foo(function () {
20
+ myObject.method1();
21
+ myObject.methodWithIgnoredParam(122);
22
+ });
23
+});
0 commit comments