Skip to content

Commit

Permalink
chore: use eslint
Browse files Browse the repository at this point in the history
  • Loading branch information
xiaohuoni committed Dec 1, 2023
1 parent ff69235 commit b5ee6eb
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -34,9 +34,9 @@
"postinstall": "max setup",
"lint": "npm run lint:js && npm run lint:prettier && npm run tsc",
"lint-staged": "lint-staged",
"lint-staged:js": "max lint --ext .js,.jsx,.ts,.tsx ",
"lint:fix": "max lint --fix --cache --ext .js,.jsx,.ts,.tsx --format=pretty ./src ",
"lint:js": "max lint --cache --ext .js,.jsx,.ts,.tsx --format=pretty ./src",
"lint-staged:js": "eslint --ext .js,.jsx,.ts,.tsx ",
"lint:fix": "eslint --fix --cache --ext .js,.jsx,.ts,.tsx --format=pretty ./src ",
"lint:js": "eslint --cache --ext .js,.jsx,.ts,.tsx --format=pretty ./src",
"lint:prettier": "prettier -c --write \"**/**.{js,jsx,tsx,ts,less,md,json}\" --end-of-line auto",
"prettier": "prettier -c --write \"**/*\"",
"screenshot": "pro screenshot",
Expand Down

0 comments on commit b5ee6eb

Please sign in to comment.