Commit Graph

7 Commits

Author SHA1 Message Date
Shiwen Cheng
6f72deff57
[Improvement][UI] Add no-var rule for eslint and add 'npm run lint:fix' command (#4225)
Add no-var rule for eslint, and fix related files
Add npm run lint:fix command, which distinguished from the default command npm run lint
The behavior of command npm run lint and command npm run lint:fix should be distinguished
The first command is used to lint only, and the second one is used to lint and fix problems automatically
2020-12-17 09:52:30 +08:00
chengshiwen
d06c9f8ad6 fix eslint: unexpected mutation of prop 2020-12-12 11:13:22 +08:00
chengshiwen
cfcae24958 fix eslint: fatal syntax errors 2020-12-11 23:56:22 +08:00
chengshiwen
d754bca766 update .eslintrc.yml and license check exclude .eslintignore 2020-12-11 23:16:55 +08:00
chengshiwen
51780cc749 support auto eslint for .js, .vue file on save 2020-12-11 23:12:34 +08:00
kezhenxu94
234d6b609a
Add license header to eslint 2020-04-30 00:04:43 +08:00
kezhenxu94
519e8c22ef
Add eslint to check frontend codes style, closes #1463 2020-04-29 23:59:30 +08:00