chengshiwen opened a new pull request #4214: URL: https://github.com/apache/incubator-dolphinscheduler/pull/4214
## *Tips* - *Thanks very much for contributing to Apache DolphinScheduler.* - *Please review https://dolphinscheduler.apache.org/en-us/community/index.html before opening a pull request.* ## What is the purpose of the pull request *Add UI eslint support with .js and .vue files for better code quality and fewer bugs* ## Brief change log - **support auto eslint for .js, .vue file on save** - fix ui eslint syntax by npm run lint - fix eslint: assigned a value but never used - fix eslint: expected '!==' but instead saw '!=', expected '===' but instead saw '==' - fix: eslint errors manually - fix eslint: Unexpected side effect in cacheParams computed property - fix eslint: comment rule 'vue/no-mutating-props' so that solve 'unexpected mutation of prop' error later - **only 'unexpected mutation of prop' error remain, which needs more time to check and fix** ## Verify this pull request *(Please pick either of the following options)* This pull request is already covered by existing tests, such as *(please describe tests)*. **In the past:** There are many warnings and errors in 144 files under eslint, and some of these problems will lead to unexpected bugs, for examples:     **Now:** **Only 'unexpected mutation of prop' error remain in 9 files, which needs more time to check and fix**  ---------------------------------------------------------------- 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. For queries about this service, please contact Infrastructure at: [email protected]
