micahstubbs commented on issue #2105: URL: https://github.com/apache/helix/issues/2105#issuecomment-1135270981
```py npm run lint > [email protected] lint /helix/helix-front > ng lint TSLint's support is discontinued and we're deprecating its support in Angular CLI. To opt-in using the community driven ESLint builder, see: https://github.com/angular-eslint/angular-eslint#migrating-an-angular-cli-project-from-codelyzer-and-tslint. Linting "helix-front"... Warning: member-ordering - Direct string option is deprecated and does not support accessors. See also https://palantir.github.io/tslint/rules/member-ordering/ You should replace "static-before-instance","variables-before-functions" with the following equivalent options and add -accessor categories as appropriate: [ { "name": "static field", "kinds": [ "public-static-field", "protected-static-field", "private-static-field" ] }, { "name": "instance field", "kinds": [ "public-instance-field", "protected-instance-field", "private-instance-field" ] }, { "name": "static method", "kinds": [ "public-static-method", "private-static-method", "protected-static-method", "public-static-accessor", "protected-static-accessor", "private-static-accessor" ] }, { "name": "instance method", "kinds": [ "public-constructor", "protected-constructor", "private-constructor", "public-instance-method", "protected-instance-method", "private-instance-method", "public-instance-accessor", "protected-instance-accessor", "private-instance-accessor" ] } ] /helix/helix-front/client/app/resource/shared/resource.model.ts:52:3 ERROR: 52:3 member-ordering Declaration of instance field not allowed after declaration of instance method. Instead, this should come at the beginning of the class/interface. /helix/helix-front/client/app/shared/input-inline/input-inline.component.ts:22:3 ERROR: 22:3 member-ordering Declaration of instance field not allowed after declaration of instance method. Instead, this should come at the beginning of the class/interface. ERROR: 24:3 member-ordering Declaration of instance field not allowed after declaration of instance method. Instead, this should come at the beginning of the class/interface. ERROR: 26:3 member-ordering Declaration of instance field not allowed after declaration of instance method. Instead, this should come at the beginning of the class/interface. ERROR: 27:3 member-ordering Declaration of instance field not allowed after declaration of instance method. Instead, this should come at the beginning of the class/interface. ERROR: 28:3 member-ordering Declaration of instance field not allowed after declaration of instance method. Instead, this should come at the beginning of the class/interface. ERROR: 29:3 member-ordering Declaration of instance field not allowed after declaration of instance method. Instead, this should come at the beginning of the class/interface. ERROR: 30:3 member-ordering Declaration of instance field not allowed after declaration of instance method. Instead, this should come at the beginning of the class/interface. ERROR: 31:3 member-ordering Declaration of instance field not allowed after declaration of instance method. Instead, this should come at the beginning of the class/interface. ERROR: 32:3 member-ordering Declaration of instance field not allowed after declaration of instance method. Instead, this should come at the beginning of the class/interface. ERROR: 33:3 member-ordering Declaration of instance field not allowed after declaration of instance method. Instead, this should come at the beginning of the class/interface. ERROR: 34:3 member-ordering Declaration of instance field not allowed after declaration of instance method. Instead, this should come at the beginning of the class/interface. ERROR: 35:3 member-ordering Declaration of instance field not allowed after declaration of instance method. Instead, this should come at the beginning of the class/interface. ERROR: 36:3 member-ordering Declaration of instance field not allowed after declaration of instance method. Instead, this should come at the beginning of the class/interface. ERROR: 38:3 member-ordering Declaration of instance field not allowed after declaration of instance method. Instead, this should come at the beginning of the class/interface. ERROR: 40:3 member-ordering Declaration of instance field not allowed after declaration of instance method. Instead, this should come at the beginning of the class/interface. ERROR: 42:3 member-ordering Declaration of instance field not allowed after declaration of instance method. Instead, this should come at the beginning of the class/interface. ERROR: 45:3 member-ordering Declaration of instance field not allowed after declaration of instance method. Instead, this should come at the beginning of the class/interface. ERROR: 46:3 member-ordering Declaration of instance field not allowed after declaration of instance method. Instead, this should come at the beginning of the class/interface. /helix/helix-front/client/app/shared/node-viewer/node-viewer.component.ts:47:3 ERROR: 47:3 member-ordering Declaration of instance field not allowed after declaration of instance method. Instead, this should come at the beginning of the class/interface. ERROR: 50:3 member-ordering Declaration of instance field not allowed after declaration of instance method. Instead, this should come at the beginning of the class/interface. ERROR: 53:3 member-ordering Declaration of instance field not allowed after declaration of instance method. Instead, this should come at the beginning of the class/interface. ERROR: 63:3 member-ordering Declaration of instance field not allowed after declaration of instance method. Instead, this should come at the beginning of the class/interface. ERROR: 64:3 member-ordering Declaration of instance field not allowed after declaration of instance method. Instead, this should come at the beginning of the class/interface. ERROR: 66:3 member-ordering Declaration of instance field not allowed after declaration of instance method. Instead, this should come at the beginning of the class/interface. ERROR: 67:3 member-ordering Declaration of instance field not allowed after declaration of instance method. Instead, this should come at the beginning of the class/interface. ERROR: 68:3 member-ordering Declaration of instance field not allowed after declaration of instance method. Instead, this should come at the beginning of the class/interface. ERROR: 71:3 member-ordering Declaration of instance field not allowed after declaration of instance method. Instead, this should come at the beginning of the class/interface. ERROR: 72:3 member-ordering Declaration of instance field not allowed after declaration of instance method. Instead, this should come at the beginning of the class/interface. ERROR: 91:3 member-ordering Declaration of instance field not allowed after declaration of instance method. Instead, this should come at the beginning of the class/interface. ERROR: 99:3 member-ordering Declaration of instance field not allowed after declaration of instance method. Instead, this should come at the beginning of the class/interface. ERROR: 109:3 member-ordering Declaration of instance field not allowed after declaration of instance method. Instead, this should come at the beginning of the class/interface. /helix/helix-front/client/app/workflow/workflow-list/workflow-list.component.ts:4:62 ERROR: 4:62 no-trailing-whitespace trailing whitespace Lint errors found in the listed files. ``` -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
