11//
22
3- // noinspection NpmUsedModulesInstalled
3+ // noinspection JSUnresolvedReference, ES6UnusedImports
44import {
55 Component ,
66 property1 ,
@@ -24,8 +24,8 @@ let foo = {
2424 b : { id : 456 , type : "Int" } ,
2525 } ,
2626// fBar : function (x,y);
27- fOne : function ( a , b , c , d ,
28- e , f , g , h ) {
27+ fOne : function ( a , b , c , d , e ,
28+ f , g , h , i , j ) {
2929 // noinspection JSUnusedLocalSymbols
3030 let x = a
3131 + b
@@ -43,7 +43,6 @@ let foo = {
4343 // noinspection JSUnusedAssignment
4444 z = a === 10 ? 'yes' : 'no' ;
4545 let colors = [ 'red' , 'green' , 'blue' , 'black' , 'white' , 'gray' ] ;
46- // noinspection JSUndeclaredVariable
4746 for ( j = 0 ; j < 2 ; j ++ ) i = a ;
4847 // noinspection JSUnusedLocalSymbols, ES6ConvertVarToLetConst
4948 for ( let i = 0 ; i
@@ -54,7 +53,7 @@ let foo = {
5453
5554 chainedCallSample ( a , b , c , d ,
5655 e , f , g , h ) {
57- // noinspection JSUnresolvedVariable, JSUnresolvedFunction, ES6ModulesDependencies, JSValidateTypes
56+ // noinspection JSUnresolvedVariable, JSUnresolvedFunction, ES6ModulesDependencies, JSValidateTypes, JSCheckFunctionSignatures
5857 chainRoot . firstCall ( a , b , c , d ,
5958 e , f , g , h ) . secondCall ( a , b , c , d ) . thirdCall ( a , b , c , d ) . fourthCall ( ) . q ( a ) . r ( a , b ) . s ( ) ;
6059 // noinspection JSUnresolvedVariable, JSUnresolvedFunction, ES6ModulesDependencies, JSValidateTypes
@@ -70,12 +69,12 @@ let foo = {
7069 /**
7170 * Function JSDoc. Long lines can be wrapped with 'Comments'/'Wrap at right margin' option
7271 * @param {string } a Parameter A description.
73- * @param {string } b Parameter B description. Can extend beyond the right margin.
72+ * @param {string } b Parameter B description. It can extend beyond the right margin.
7473 */
7574 fTwo : function ( a , b , c , d ) {
76- // noinspection JSUnresolvedFunction
77- foo ( a , b , c , d ) ; // Line comment which can be wrapped if long.
78- // noinspection ConstantIfStatementJS
75+ // noinspection JSUnresolvedFunction, JSValidateTypes
76+ foo ( a , b , c , d ) ; // line comment which can be wrapped if long.
77+ // noinspection ConstantIfStatementJS, PointlessBooleanExpressionJS
7978 if ( true ) {
8079 return c ;
8180 }
@@ -134,6 +133,7 @@ let foo = {
134133 } ,
135134} ;
136135
136+ // noinspection NpmUsedModulesInstalled
137137funDeclare ( require ( 'jquery' ) , 300 , 20 , 10 ) ;
138138
139139function funDeclare ( $ ,
@@ -144,5 +144,5 @@ function funDeclare($,
144144 ) ) ) ;
145145}
146146
147- /* eslint curly: " off" */
148- /* eslint brace-style: " off" */
147+ /* eslint curly: off */
148+ /* eslint brace-style: off */
0 commit comments