Commit d2577208 authored by 陈帅's avatar 陈帅

use check-prettier

parent 7993e44f
......@@ -58,7 +58,7 @@ function getRule(
if (params.status) {
const status = params.status.split(',');
let filterDataSource: TableListItem[] = [];
status.forEach(s => {
status.forEach((s: string) => {
filterDataSource = filterDataSource.concat(
dataSource.filter(item => {
if (parseInt(item.status + '', 10) === parseInt(s.split('')[0], 10)) {
......
......@@ -32,6 +32,7 @@
"devDependencies": {
"@types/classnames": "^2.2.7",
"babel-eslint": "^10.0.1",
"check-prettier": "^1.0.1",
"glob": "^7.1.3",
"husky": "^2.2.0",
"lint-staged": "^8.1.0",
......@@ -55,5 +56,10 @@
},
"peerDependencies": {
"antd": "^3.17.0"
}
},
"checkFiles": [
"**/*.ts*",
"**/*.less",
"**/*.md"
]
}
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment