manishit56 / Angular4-JsonEditor

Wrapper for jsonedior in angular 4+ application
MIT License
39 stars 17 forks source link

Getting compilation warnings #7

Open Abhay-Joshi-Git opened 6 years ago

Abhay-Joshi-Git commented 6 years ago

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.