Skip to content

Commit

Permalink
add eslint check script
Browse files Browse the repository at this point in the history
  • Loading branch information
jooy2 committed Jul 10, 2023
1 parent 4f837a5 commit 47ed672
Show file tree
Hide file tree
Showing 2 changed files with 97 additions and 0 deletions.
94 changes: 94 additions & 0 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 3 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,8 @@
"build:win": "npm run build:pre && electron-builder --windows",
"build:mac": "npm run build:pre && electron-builder --mac",
"build:linux": "npm run build:pre && electron-builder --linux",
"lint": "eslint --ext .js,.ts,.vue -f ./node_modules/eslint-friendly-formatter src",
"lint:fix": "eslint --ext .js,.ts,.vue -f ./node_modules/eslint-friendly-formatter --fix src",
"format": "prettier .",
"format:fix": "prettier . --write",
"test": "npm run build:dir && xvfb-maybe -- playwright test"
Expand All @@ -40,6 +42,7 @@
"eslint-config-airbnb": "^19.0.4",
"eslint-config-prettier": "^8.8.0",
"eslint-config-react-app": "^7.0.1",
"eslint-friendly-formatter": "^4.0.1",
"eslint-import-resolver-typescript": "^3.5.5",
"eslint-plugin-import": "^2.27.5",
"eslint-plugin-jsx-a11y": "^6.7.1",
Expand Down

0 comments on commit 47ed672

Please sign in to comment.