WARNING in ./~/angular4-jsoneditor/jsoneditor/jsoneditor.component.ts
Error: [109, 20]: file should end with a newline
[80, 1]: A maximum of 1 class per file is allowed
[14, 3]: The class property 'options' must be marked either 'private', 'public', or 'protected'
[15, 3]: The class property 'data' must be marked either 'private', 'public', or 'protected'
[19, 3]: The class method 'ngOnInit' must be marked either 'private', 'public', or 'protected'
[14, 3]: Declaration of public instance field not allowed after declaration of private instance field. Instead, this should come at the beginning of the class/interface.
[15, 3]: Declaration of public instance field not allowed after declaration of private instance field. Instead, this should come at the beginning of the class/interface.
[75, 16]: Interface properties should be separated by semicolons
[76, 16]: Interface properties should be separated by semicolons
[77, 17]: Missing semicolon
WARNING in ./~/angular4-jsoneditor/index.ts
Error: [18, 37]: file should end with a newline
I am using angular starter kit from angular class, I have already specified 'node_modules' in exclude property in 'tsconfig.webpack.json'. I tried to exclude it by excluding entire dependency tree starting from main.browser.ts but with no luck.
Please find the compilation warnings as follows -
WARNING in ./~/angular4-jsoneditor/jsoneditor/jsoneditor.component.ts Error: [109, 20]: file should end with a newline [80, 1]: A maximum of 1 class per file is allowed [14, 3]: The class property 'options' must be marked either 'private', 'public', or 'protected' [15, 3]: The class property 'data' must be marked either 'private', 'public', or 'protected' [19, 3]: The class method 'ngOnInit' must be marked either 'private', 'public', or 'protected' [14, 3]: Declaration of public instance field not allowed after declaration of private instance field. Instead, this should come at the beginning of the class/interface. [15, 3]: Declaration of public instance field not allowed after declaration of private instance field. Instead, this should come at the beginning of the class/interface. [75, 16]: Interface properties should be separated by semicolons [76, 16]: Interface properties should be separated by semicolons [77, 17]: Missing semicolon
WARNING in ./~/angular4-jsoneditor/index.ts Error: [18, 37]: file should end with a newline
I am using angular starter kit from angular class, I have already specified 'node_modules' in exclude property in 'tsconfig.webpack.json'. I tried to exclude it by excluding entire dependency tree starting from main.browser.ts but with no luck.
Any help would be appreciated.
Thanks.