stevepapa / angular2-autosize

angular2-autosize is an Angular2 directive that automatically adjusts textarea height to fit content.
MIT License
118 stars 29 forks source link

Fixes linting errors #28

Open abdel-ships-it opened 7 years ago

abdel-ships-it commented 7 years ago

Gets rid of linting errors

glauberramos commented 7 years ago

I see these issues as well:

webpack-dev-server.js:1 ./~/angular2-autosize/src/autosize.directive.ts [8, 2]: The class method 'onInput' must be marked either 'private', 'public', or 'protected' [14, 3]: The class method 'ngAfterContentChecked' must be marked either 'private', 'public', or 'protected' [17, 3]: The class method 'adjust' must be marked either 'private', 'public', or 'protected' [12, 3]: Declaration of constructor not allowed after declaration of public instance method. Instead, this should come at the beginning of the class/interface. [12, 42]: missing whitespace [14, 32]: missing whitespace [17, 17]: missing whitespace [20, 89]: " should be ' [8, 24]: missing whitespace [7, 14]: The name of the class Autosize should end with the suffix Directive (https://goo.gl/5X1TE7) [1, 8]: You need to leave whitespaces inside of the import statement's curly braces [14, 3]: Implement lifecycle hook interface AfterContentChecked for method ngAfterContentChecked in class Autosize (https://goo.gl/w1Nwk3)

client:106 ./~/angular2-autosize/angular2-autosize.ts [7, 2]: Missing semicolon [1, 8]: You need to leave whitespaces inside of the import statement's curly braces