Skip to content

Commit

Permalink
added resolve plugins relative path to lint command in desktop viewer
Browse files Browse the repository at this point in the history
  • Loading branch information
hl662 committed Feb 23, 2024
1 parent f7fc4ff commit fab8e88
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 4 deletions.
2 changes: 0 additions & 2 deletions common/config/rush/pnpm-lock.yaml

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

3 changes: 1 addition & 2 deletions packages/apps/desktop-viewer-test/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
"copy:enUS": "cpx \"./build/locales/en/*\" ./build/locales/en-US/",
"electron": "electron lib/backend/main.js",
"electron:debug": "cross-env NODE_ENV=development electron lib/backend/main.js",
"lint": "eslint --config package.json --no-eslintrc \"./src/**/*.{ts,tsx}\" 1>&2",
"lint": "eslint --config package.json --resolve-plugins-relative-to ../../../common/scripts/ --no-eslintrc \"./src/**/*.{ts,tsx}\" 1>&2",
"lint:fix": "npm run -s lint -- --fix",
"start": "npm run build:backend && run-p \"start:frontend\" \"electron:debug\"",
"start:frontend": "react-scripts start",
Expand Down Expand Up @@ -92,7 +92,6 @@
"cpx2": "4.2.0",
"cross-env": "^5.2.1",
"electron-devtools-installer": "^2.2.4",
"eslint": "^7.32.0",
"npm-run-all": "^4.1.5",
"rimraf": "^3.0.2",
"sass": "^1.64.2",
Expand Down

0 comments on commit fab8e88

Please sign in to comment.