You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[ZEPPELIN-6305] Modify package.json so that lint and prettier cover projects folder
### What is this PR for?
> This PR for **zeppeling-web-angular**
In `npm run lint`, `projects folder` is linted using ng, but `prettier` only checks the `src folder`. In `lint-staged`, neither lint nor `prettier` checks the `projects folder`. This seems to need fixing.
Because `ng lint --fix` is not supported, I added a `lint:fix` script to run `tslint` with the `--fix` option.
Since src and projects folders need to reference different tslint configs, I added the corresponding option to `lint-staged`.
### What type of PR is it?
Bug Fix
Improvement
### Todos
### What is the Jira issue?
* [[ZEPPELIN-6305](https://issues.apache.org/jira/browse/ZEPPELIN-6305)]
### How should this be tested?
### Screenshots (if appropriate)
### Questions:
* Does the license files need to update? N
* Is there breaking changes for older versions? N
* Does this needs documentation? N
Closes#5054 from dididy/fix/ZEPPELIN-6305.
Signed-off-by: ChanHo Lee <[email protected]>
0 commit comments